UNPKG

@claromentis/design-system

Version:

Claromentis Design System Component Library

28 lines (27 loc) 663 B
import { EventEmitter } from '../../stencil-public-runtime'; /** * @slot - This is where the item the popover wraps goes * @slot content - Allows content to be added to the popover. */ export declare class Popover { /** * The host element. */ element: HTMLElement; /** * If 'true' the popover is in an open state. */ toggle: boolean; /** * Emitted when the menu is toggled. */ toggleEvent: EventEmitter; clickOff(event: Event): void; togglePopover(): void; /** * offsets the Popover if it is outside the bounds of the left of the viewport */ offestPopover: () => void; componentDidLoad(): void; render(): any; }