toolbarItems Array

An array of toolbar items to display in the header Toolbar. They will be rendered after the items generated from the configurations of the views.


<div id="aiprompt"></div>
    toolbarItems: [
        // add 'Spacer' item move the Close button to the right
        { type: "spacer" },
        // add a 'Close' round icon button
        { type: "button", icon: "x", fillMode: "flat", rounded: "full", themeColor: "primary", click: function(e) { console.log("Close button clicked", e); } }
In this article