www_hero/node_modules/flowbite/lib/esm/components/dial/index.d.ts

23 lines
774 B
TypeScript
Raw Permalink Normal View History

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