axentix
Version:
Axentix is a framework mixing fully customizable components & utility-first classes, leaving the design choice to the developer.
25 lines (24 loc) • 1.57 kB
TypeScript
export declare const extend: (...args: any[]) => any;
export declare const getComponentOptions: (component: any, options: any, el: any) => any;
export declare const wrap: (target: any, wrapper?: HTMLDivElement) => HTMLDivElement;
export declare const unwrap: (wrapper: any) => any;
export declare const createEvent: (element: HTMLElement, eventName: string, extraData?: any) => void;
export declare const isTouchEnabled: () => boolean;
export declare const isPointerEnabled: () => boolean;
export declare const getPointerType: () => "touch" | "pointer" | "mouse";
export declare const getInstanceByType: (type: any) => any[];
export declare const getInstance: (element: any) => any;
export declare const getUid: () => string;
export declare const getAllInstances: () => any[];
export declare const sync: (element: any) => any;
export declare const syncAll: () => any[];
export declare const reset: (element: any) => any;
export declare const resetAll: () => any[];
export declare const destroy: (element: any) => any;
export declare const destroyAll: () => any[];
export declare const createOverlay: (isActive: any, overlay: any, id: any, animationDuration: any) => HTMLElement;
export declare const updateOverlay: (overlay: any, overlayElement: any, listenerRef: any, state: any, animationDuration: any) => void;
export declare const getTriggers: (id: string, query?: string) => Array<HTMLElement>;
export declare const getClientYPosition: (e: any) => number;
export declare const getClientXPosition: (e: any) => number;
export declare const isDarkMode: () => boolean;