Skip to main content

Toolbar Custom HTML properties

Usage

const data = [
{
type: "customHTML";
id?: string | number;
parent?: string | number;
html?: string;
css?: string | string[];
hidden?: boolean;
},
// more Toolbar controls
]

Description

type(required) the item type, set it to "customHTML". If not specified - the "navItem" type is applied by default.
id(optional) the id of an item, auto-generated if not set
parent(optional) the parent of the item
html(optional) a string with HTML that should be inserted into the item
css(optional) adds style classes
hidden(optional) defines whether an item is hidden

Example

Related article: Custom HTML