@limetech/lime-elements
Version:
32 lines • 829 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
/**
* @slot - Content to put inside the surface
* @private
*/
export declare class MenuSurface {
/**
* True if the menu surface is open, false otherwise
*/
open: boolean;
/**
* Clicks in this element should not be prevented when the menu surface is open
*/
allowClicksElement: HTMLElement;
/**
* Emitted when the menu surface is dismissed and should be closed
*/
dismiss: EventEmitter<void>;
private host;
private menuSurface;
connectedCallback(): void;
disconnectedCallback(): void;
componentDidLoad(): void;
render(): any;
private setup;
private teardown;
private handleDocumentClick;
private preventClickEventPropagation;
private stopEvent;
private handleKeyDown;
}
//# sourceMappingURL=menu-surface.d.ts.map