Interface IMenuCheckbox<D>

A Sub-Menu containing checkable Attributes

Type Parameters

Hierarchy

Properties

count?: number

Badge to be rendered as counter (number)

disabled?: boolean

Flag to disable the Element

hidden?: boolean

Flag to hide the element.

icon?: "icon-folder" | "icon-page" | "icon-reload" | "icon-columns" | "icon-search" | "icon-add" | "icon-delete" | "icon-save" | "icon-edit" | "icon-bullet-black"
id: string

Id of the Element

items: {
    checked?: boolean;
    disabled?: boolean;
    icon?: string;
    id: string;
    img?: string;
    selected?: boolean;
    text?: string;
}[]
onClick?: ICallback<D>

Callback which will be called, on clicking the element

onRefresh?: ICallback<D>

Callback which will be called, on refresing (rerendering) the element

selected?: string
style?: string

Style sheet

text?: string | ((item) => string)

Text to render

tooltip?: string

A Tooltip, which will be renderd on hovering.

type: "menu-check" | "menu-radio"

The Type. This will be overwritten by the elements.

Generated using TypeDoc