www_hero/node_modules/flowbite/lib/cjs/components/drawer/index.d.ts

21 lines
698 B
TypeScript
Raw Normal View History

2024-05-03 04:39:20 +00:00
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