second commit
This commit is contained in:
34
node_modules/flowbite/lib/cjs/components/dial/index.d.ts
generated
vendored
Normal file
34
node_modules/flowbite/lib/cjs/components/dial/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
import type { DialOptions, DialTriggerType } from './types';
|
||||
import type { InstanceOptions } from '../../dom/types';
|
||||
import { DialInterface } from './interface';
|
||||
declare class Dial implements DialInterface {
|
||||
_instanceId: string;
|
||||
_parentEl: HTMLElement;
|
||||
_triggerEl: HTMLElement;
|
||||
_targetEl: HTMLElement;
|
||||
_options: DialOptions;
|
||||
_visible: boolean;
|
||||
_initialized: boolean;
|
||||
_showEventHandler: EventListenerOrEventListenerObject;
|
||||
_hideEventHandler: EventListenerOrEventListenerObject;
|
||||
constructor(parentEl?: HTMLElement | null, triggerEl?: HTMLElement | null, targetEl?: HTMLElement | null, options?: DialOptions, instanceOptions?: InstanceOptions);
|
||||
init(): void;
|
||||
destroy(): void;
|
||||
removeInstance(): void;
|
||||
destroyAndRemoveInstance(): void;
|
||||
hide(): void;
|
||||
show(): void;
|
||||
toggle(): void;
|
||||
isHidden(): boolean;
|
||||
isVisible(): boolean;
|
||||
_getTriggerEventTypes(triggerType: DialTriggerType): {
|
||||
showEvents: string[];
|
||||
hideEvents: string[];
|
||||
};
|
||||
updateOnShow(callback: () => void): void;
|
||||
updateOnHide(callback: () => void): void;
|
||||
updateOnToggle(callback: () => void): void;
|
||||
}
|
||||
export declare function initDials(): void;
|
||||
export default Dial;
|
||||
//# sourceMappingURL=index.d.ts.map
|
Reference in New Issue
Block a user