Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
Hello
how can I bind to the Click-Event of zoomIn or zoomOut for the standard zoom toolbar or PdfViewer ?
Somehow similar to
var pdfViewer = $("#pdfviewer").data("kendoPDFViewer");pdfViewer.toolbar.zoom.combobox.bind("change", onChangeZoom_Pdf);
Regards
Christine
Hello, Christine,
If you wish to bind to the click event of the ZoomIn/Out buttons, you will find the code snippet below:
$("[title='Zoom In']").click(function(){ alert("Zoom In"); }) $("[title='Zoom Out']").click(function(){ alert("Zoom Out"); })
If that is not what you are looking for, kindly provide some further information.
Regards, Martin Progress Telerik
Hello Martin
thanks for the hint.
As we use several languages, I used "data-command" instead of the title.
To avoid the event being called for other elements, I added the name of the pdf viewer.
$("#pdfviewer [data-command='zoomout']").click(function () { // add functionality })
Best regards