UNPKG

@eclipse-scout/core

Version:
36 lines 1.36 kB
import { EllipsisMenu, InitModelOf, Menu, MenuBoxEventMap, MenuBoxModel, ObjectOrChildModel, TabbableCoordinator, Widget } from '../../index'; export declare class MenuBox extends Widget implements MenuBoxModel { model: MenuBoxModel; eventMap: MenuBoxEventMap; self: MenuBox; compact: boolean; menus: Menu[]; uiMenuCssClass: string; tabbableCoordinator: TabbableCoordinator; protected _compactOrig: boolean; constructor(); protected _init(options: InitModelOf<this>): void; protected _render(): void; protected _renderProperties(): void; setMenus(menus: ObjectOrChildModel<Menu>[]): void; protected _setMenus(menus: Menu[]): void; protected _initMenu(menu: Menu): void; protected _renderMenus(): void; protected _removeMenus(): void; setCompact(compact: boolean): void; protected _renderCompact(): void; /** * Sets the menu box into compact mode. Can be reversed by calling {@link #undoMakeCompact}. */ makeCompact(): void; /** * Undoes the effect of {@link #makeCompact}, i.e. restores the previous compact state. * If {@link #makeCompact} was not called previously, nothing happens. */ undoMakeCompact(): void; /** * @internal */ _updateTabbableItems(ellipsisMenu?: EllipsisMenu): void; } //# sourceMappingURL=MenuBox.d.ts.map