www_hero/node_modules/flowbite/lib/esm/components/modal/interface.d.ts

21 lines
699 B
TypeScript
Raw Permalink Normal View History

2024-05-03 04:39:20 +00:00
import { ModalOptions } from './types';
export declare interface ModalInterface {
_targetEl: HTMLElement | null;
_options: ModalOptions;
_isHidden: boolean;
_backdropEl: HTMLElement | null;
_clickOutsideEventListener: EventListenerOrEventListenerObject;
_keydownEventListener: EventListenerOrEventListenerObject;
_init(): void;
_createBackdrop(): void;
_destroyBackdropEl(): void;
_setupModalCloseEventListeners(): void;
_handleOutsideClick(target: EventTarget): void;
_getPlacementClasses(): string[];
toggle(): void;
show(): void;
hide(): void;
isHidden(): boolean;
isVisible(): boolean;
}
//# sourceMappingURL=interface.d.ts.map