take-shot
Version:
Screenshots with JavaScript
16 lines (15 loc) • 411 B
TypeScript
export declare const loadingId = "take-shot-loading";
export interface LoadingProps {
show?: boolean;
html?: string;
color?: string;
backgroundColor?: string;
fontSize?: string;
iconSize?: string;
text?: string;
zIndex?: number;
}
export declare const useLoading: (element: HTMLElement, props?: LoadingProps) => {
insertLoading: () => void;
removeLoading: () => void;
};