Toolbar Custom HTML properties
Usage
const data = [
{
type: "customHTML",
id?: string | number,
parent?: string,
css?: string | string[],
hidden?: boolean,
html?: string,
},
// 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 |
css | (optional) adds style classes |
hidden | (optional) defines whether an item is hidden |
html | (optional) a string with HTML that should be inserted into the item |
Example
Related article: Custom HTML