MenuItem
#
Constructorconstructor(menu: Menu);
#
Methods#
setTitlesetTitle(title: string | DocumentFragment): this;
#
setIconsetIcon(icon: string | null, size?: number): this;
#
setActivesetActive(active: boolean): this;
#
setDisabledsetDisabled(disabled: boolean): this;
#
setIsLabelsetIsLabel(isLabel: boolean): this;
#
onClickonClick(callback: (evt: MouseEvent | KeyboardEvent) => any): this;