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

23 lines
774 B
TypeScript

import type { DialOptions, DialTriggerType } from './types';
import { DialInterface } from './interface';
declare class Dial implements DialInterface {
_parentEl: HTMLElement;
_triggerEl: HTMLElement;
_targetEl: HTMLElement;
_options: DialOptions;
_visible: boolean;
constructor(parentEl?: HTMLElement | null, triggerEl?: HTMLElement | null, targetEl?: HTMLElement | null, options?: DialOptions);
_init(): void;
hide(): void;
show(): void;
toggle(): void;
isHidden(): boolean;
isVisible(): boolean;
_getTriggerEventTypes(triggerType: DialTriggerType): {
showEvents: string[];
hideEvents: string[];
};
}
export declare function initDials(): void;
export default Dial;
//# sourceMappingURL=index.d.ts.map