toolbar.items.imageUrlString
If set, the ToolBar will render an image with the specified URL in the button.
Example
<div id="pdfviewer"></div>
<script type="module">
$("#pdfviewer").kendoPDFViewer({
toolbar: {
items: [
{
type: "button",
text: "Custom Image",
imageUrl: "/content/shared/icons/sports/snowboarding.png"
},
"pager"
]
},
pdfjsProcessing: {
file: {
url: "https://demos.telerik.com/kendo-ui/content/web/pdfViewer/sample.pdf"
}
}
});
</script>
In this article