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
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
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