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
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
|