UNPKG

@vuesax-alpha/nightly

Version:
13 lines (12 loc) 464 B
import type { LoadingHandle, LoadingParams } from './loading'; import type { Directive, UnwrapRef } from 'vue'; declare const INSTANCE_KEY: unique symbol; export declare type LoadingBinding = boolean | UnwrapRef<LoadingParams>; export interface ElementLoading extends HTMLElement { [INSTANCE_KEY]?: { instance: LoadingHandle; options: LoadingParams; }; } export declare const vLoading: Directive<ElementLoading, LoadingBinding>; export {};