UNPKG

@cbpds/web-components

Version:
29 lines (28 loc) 857 B
import { EventEmitter } from '../../stencil-public-runtime'; export declare class CbpMenu { private CBPButton; private control; private menu; private menuItems; private focusIndex; host: HTMLElement; position: 'bottom-start' | "bottom-end" | 'top-start' | "top-end"; open: boolean; uid: string; accessibilityText: string; context: 'light-inverts' | 'light-always' | 'dark-inverts' | 'dark-always'; sx: any; toggleMenu: EventEmitter; openMenu(): Promise<void>; closeMenu(): Promise<void>; watchOpen(newValue: any): void; clickAwayHandler({ target }: { target: any; }): void; handleKeyPress(e: any): void; setCurrentMenuItem(i?: number): void; handleKeyPressCloseButton(e: any): void; componentWillLoad(): void; componentDidLoad(): void; render(): any; }