second commit

This commit is contained in:
2024-12-27 22:31:23 +09:00
parent 2353324570
commit 10a0f110ca
8819 changed files with 1307198 additions and 28 deletions

View File

@ -0,0 +1,27 @@
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;
destroy(): void;
removeInstance(): void;
destroyAndRemoveInstance(): void;
addEventListenerInstance(element: HTMLElement, type: string, handler: EventListenerOrEventListenerObject): void;
removeAllEventListenerInstances(): void;
getAllEventListenerInstances(): void;
}
//# sourceMappingURL=interface.d.ts.map