axentix
Version:
Axentix is a framework mixing fully customizable components & utility-first classes, leaving the design choice to the developer.
24 lines (23 loc) • 705 B
TypeScript
import { AxentixComponent, Component } from '../../utils/component';
interface IFabOptions {
animationDuration?: number;
hover?: boolean;
direction?: 'top' | 'bottom' | 'left' | 'right';
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
offsetX?: string;
offsetY?: string;
}
export declare class Fab extends AxentixComponent implements Component {
#private;
static getDefaultOptions: () => IFabOptions;
options: IFabOptions;
constructor(element: string, options?: IFabOptions);
setup(): void;
setupListeners(): void;
removeListeners(): void;
/** Open fab */
open(): void;
/** Close fab */
close(): void;
}
export {};