flowbite-2.4.0
Version:
The most popular library of interactive components built with Tailwind CSS
26 lines • 1.03 kB
TypeScript
import { PopoverOptions, PopoverTriggerType, PopoverTriggerEventTypes } from './types';
import type { Instance as PopperInstance } from '@popperjs/core';
export declare interface PopoverInterface {
_targetEl: HTMLElement | null;
_triggerEl: HTMLElement | null;
_options: PopoverOptions;
_popperInstance: PopperInstance;
_clickOutsideEventListener: EventListenerOrEventListenerObject;
_keydownEventListener: EventListenerOrEventListenerObject;
init(): void;
_setupEventListeners(): void;
_setupClickOutsideListener(): void;
_removeClickOutsideListener(): void;
_setupKeydownListener(): void;
_removeKeydownListener(): void;
_handleClickOutside(ev: Event, targetEl: HTMLElement): void;
_getTriggerEvents(triggerType: PopoverTriggerType): PopoverTriggerEventTypes;
isVisible(): boolean;
show(): void;
hide(): void;
toggle(): void;
destroy(): void;
removeInstance(): void;
destroyAndRemoveInstance(): void;
}
//# sourceMappingURL=interface.d.ts.map