ivue-material-plus
Version:
A high quality UI components Library with Vue.js
13 lines (12 loc) • 476 B
TypeScript
import { LoadingInstance } from './createLoadingComponent';
import { LoadingOptions } from './types/loading';
import type { Directive, UnwrapRef } from 'vue';
export declare type LoadingBinding = boolean | UnwrapRef<LoadingOptions>;
export interface ElementLoading extends HTMLElement {
INSTANCE_KEY: {
instance: LoadingInstance;
options: LoadingOptions;
};
}
declare const vLoading: Directive<ElementLoading, LoadingBinding>;
export default vLoading;