Skip to main content

Menu Custom HTML properties

Usage

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

Description

type(required) the item type, set it to "customHTML". If not specified - the "menuItem" 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 a control is hidden

Example

Related article: Custom HTML