Toolbar.items
configurationThe following list indicates the default tools:
pagerzoomInOutzoomtoggleSelectionsearchopendownloadprintannotations
For DPL Processing exportAs tool could be configured to export a single page to .png or .svg.
toolbar.items
Arraytoolbar.items.attributes
ObjectSpecifies the HTML attributes of a ToolBar button.
toolbar.items.click
FunctionSpecifies the click event handler of the button.
toolbar.items.command
StringDefault commands in the PDF Viewer are:
OpenCommandPageChangeCommandDownloadCommandEnableSelectionCommandEnablePanCommandExportCommand
toolbar.items.enable
BooleanSpecifies whether the control is initially enabled or disabled. Default value is "true".
Default: true
toolbar.items.hidden
BooleanDetermines if a button is visible or hidden. By default buttons are visible.
Default: false
toolbar.items.icon
StringSets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.
toolbar.items.id
StringSpecifies the ID of the button.
toolbar.items.imageUrl
StringIf set, the ToolBar will render an image with the specified URL in the button.
toolbar.items.name
StringSpecifies the tool's name. Tool definition will be taken from the default collection - kendo.pdfviewer.DefaultTools
toolbar.items.overflow
StringSpecifies the overflow behavior of the toolbar item. Accepts auto, never, or always to control when the item appears in the toolbar's overflow menu.
toolbar.items.primary
BooleanSpecifies whether the button is primary. Primary buttons receive different styling.
Default: false
toolbar.items.showIcon
StringSpecifies where the button icon will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).
Default: "both"
toolbar.items.showText
StringSpecifies where the text will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).
Default: "both"
Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.
toolbar.items.template
String|FunctionSpecifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
toolbar.items.text
StringSets the text of the button.
toolbar.items.togglable
BooleanSpecifies if the button is togglable, e.g. has a selected and unselected state.
Default: false
toolbar.items.toggle
FunctionSpecifies the toggle event handler of the button. Applicable only for commands of type button and togglable: true.
toolbar.items.type
StringSpecifies the type of toolbar item to be rendered. Supported types include button, separator, spacer, splitButton, buttonGroup, and template as defined by the ToolBar component.