toolbar.items.template String|Function

Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.

Example

<div id="pdf-viewer"></div>
<script type="module">
  $("#pdf-viewer").kendoPDFViewer({
    toolbar: {
      items: [            
        {
          name: "myCustomTool",
          template: "<button>My custom button </button>"
        }
      ]
    }  
  });     
</script>
In this article