@opensig/opendesign
Version:
13 lines (12 loc) • 541 B
TypeScript
import { ObjectDirective, WatchHandle, VNode } from 'vue';
import { LoadingPropsT } from './types';
declare const setVLoadingOption: (option: Partial<LoadingPropsT>) => void;
declare const WATCH_HANDLE: unique symbol;
declare const VNODE: unique symbol;
type BindingValueT = boolean | Partial<LoadingPropsT>;
export type HoistElement = HTMLElement & {
[WATCH_HANDLE]?: WatchHandle;
[VNODE]?: VNode;
};
declare const vLoading: ObjectDirective<HoistElement, BindingValueT>;
export { vLoading, setVLoadingOption, WATCH_HANDLE, VNODE };