import { UIElement } from "../ui-element.js"; import { MenuApi, MenuOpenChangeReason, MenuPopupApi, PositioningBoundary } from "@videojs/core/dom"; import { PropertyValues } from "@videojs/element"; //#region src/ui/menu/element.d.ts /** * Root menu state and positioned popup. Content pages are direct children. * * @fires open-change - Fired before the menu's open state changes. Cancel the event to prevent the change. */ declare class MenuElement extends UIElement { #private; static readonly tagName: string; static properties: { open: { type: BooleanConstructor; }; defaultOpen: { type: BooleanConstructor; attribute: string; }; side: { type: StringConstructor; }; align: { type: StringConstructor; }; closeOnEscape: { type: BooleanConstructor; attribute: string; }; closeOnOutsideClick: { type: BooleanConstructor; attribute: string; }; boundary: { type: StringConstructor; }; }; open: boolean; defaultOpen: boolean; side: import("@videojs/core").PopoverSide; align: import("@videojs/core").PopoverAlign; closeOnEscape: boolean; closeOnOutsideClick: boolean; boundary: PositioningBoundary; get menu(): MenuApi | null; get popup(): MenuPopupApi | null; connectedCallback(): void; disconnectedCallback(): void; close(reason?: MenuOpenChangeReason): void; openMenu(reason?: MenuOpenChangeReason): void; protected willUpdate(changed: PropertyValues): void; protected update(changed: PropertyValues): void; } //#endregion export { MenuElement }; //# sourceMappingURL=element.d.ts.map