货无忧
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
439 B

2 years ago
import { InjectionKey, Ref } from 'vue'
import type { Loading, LoadingOptions } from './types'
/**
* useLoading key
*
* @internal
*/
export declare const loadingDefaultKey: InjectionKey<Ref<boolean>>
export declare const loadingDefaultOptionKey: InjectionKey<Ref<LoadingOptions>>
/**
*
*/
export declare const defaultLoadingOptions: LoadingOptions
export declare function useLoading(selector?: string): Loading