Files
pig-farm-controller-fe/node_modules/element-plus/es/components/loading/src/directive.d.ts
2025-09-19 14:25:20 +08:00

14 lines
501 B
TypeScript

import type { Directive, UnwrapRef } from 'vue';
import type { LoadingOptions } from './types';
import type { LoadingInstance } from './loading';
declare const INSTANCE_KEY: unique symbol;
export 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;