Interface MenuNodeRenderingDataInternal

Metadata for the visual presentation of a node. For most uses cases, refer to MenuNode, CommandMenuNode, or CompoundMenuNode

interface MenuNodeRenderingData {
    icon?: string;
    label?: string;
}

Hierarchy (view full)

Properties

Properties

icon?: string

Icon classes for the menu node. If present, these will produce an icon to the left of the label in browser-style menus.

label?: string

Optional label. Will be rendered as text of the menu item.