Edit this page

items Array

A JavaScript array that contains the ToolBar's commands configuration.

For more information regarding supported commands and their configuration properties check the Getting Started topic.

Example - initialize ToolBar with Button, Toggle Button and SplitButton

<div id="toolbar"></div>
        items: [
            { type: "button", text: "Button" },
            { type: "button", text: "Toggle", togglable: true },
            { type: "splitButton", text: "SplitButton", menuButtons: [{text: "Option 1"}, {text: "Option 2"}] }
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article