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"}] }
In this article
Not finding the help you need? Improve this article