www_hero/node_modules/flowbite/lib/esm/components/drawer/index.d.ts
sasha-astiadi 324d5960af hero_web
2024-05-03 06:39:20 +02:00

21 lines
698 B
TypeScript

import type { DrawerOptions, PlacementClasses } from './types';
import { DrawerInterface } from './interface';
declare class Drawer implements DrawerInterface {
_targetEl: HTMLElement;
_triggerEl: HTMLElement;
_options: DrawerOptions;
_visible: boolean;
constructor(targetEl?: HTMLElement | null, options?: DrawerOptions);
_init(): void;
hide(): void;
show(): void;
toggle(): void;
_createBackdrop(): void;
_destroyBackdropEl(): void;
_getPlacementClasses(placement: string): PlacementClasses;
isHidden(): boolean;
isVisible(): boolean;
}
export declare function initDrawers(): void;
export default Drawer;
//# sourceMappingURL=index.d.ts.map