toolbar.items.togglableBoolean
(default: false)
Specifies if the button is togglable, e.g. has a selected and unselected state.
Example
<div id="pdfviewer"></div>
<script type="module">
$("#pdfviewer").kendoPDFViewer({
toolbar: {
items: [
{
type: "button",
text: "Selection Mode",
togglable: true,
command: "EnableSelectionCommand"
},
"pager"
]
},
pdfjsProcessing: {
file: {
url: "https://demos.telerik.com/kendo-ui/content/web/pdfViewer/sample.pdf"
}
}
});
</script>
In this article