toolbar.items.primaryBoolean
(default: false)
Specifies whether the button is primary. Primary buttons receive different styling.
Example
<div id="pdfviewer"></div>
<script type="module">
$("#pdfviewer").kendoPDFViewer({
toolbar: {
items: [
{
type: "button",
text: "Important Action",
primary: true
},
"pager"
]
},
pdfjsProcessing: {
file: {
url: "https://demos.telerik.com/kendo-ui/content/web/pdfViewer/sample.pdf"
}
}
});
</script>
In this article