Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
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