UNPKG

@nova-ui/bits

Version:

SolarWinds Nova Framework

27 lines (26 loc) 1.16 kB
import { ChangeDetectorRef, ElementRef } from "@angular/core"; import { MenuGroupComponent } from "../menu-group/menu-group.component"; import { MenuItemBaseComponent } from "../menu-item/menu-item-base"; import * as i0 from "@angular/core"; /** * @ignore */ /** * Menu item component with check/uncheck option, * use (change) event to get state of this item */ export declare class MenuSwitchComponent extends MenuItemBaseComponent { readonly group: MenuGroupComponent; /** * Is needed to predefine item state, sets nui-checkbox [checked] property */ checked: boolean; disabled: boolean; menuItem: ElementRef; stopPropagationOfClick(event: MouseEvent): void; get checkedClass(): boolean; constructor(group: MenuGroupComponent, cd: ChangeDetectorRef); doAction(): void; static ɵfac: i0.ɵɵFactoryDeclaration<MenuSwitchComponent, [{ optional: true; }, null]>; static ɵcmp: i0.ɵɵComponentDeclaration<MenuSwitchComponent, "nui-menu-switch", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>; }