UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

23 lines (22 loc) 783 B
import GirafeHTMLElement from '../../base/GirafeHTMLElement.js'; type OpenDirection = 'bottom' | 'bottom-left' | 'up' | 'left'; declare class MenuButtonComponent extends GirafeHTMLElement { protected templateUrl: string | null; protected styleUrls: string[] | null; template: () => import("uhtml").Hole; open: boolean; openDirection: OpenDirection; constructor(); render(): void; listenChildButtons(): void; getClass(): string; toggleMenu(): void; private openMenu; private readonly outsideClickHandler; private outsideClick; private readonly closeMenuHandler; private closeMenu; findAllAssignedButtons(nodes: Node[]): HTMLButtonElement[]; protected connectedCallback(): void; } export default MenuButtonComponent;