版博士V2.0程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
414 B

  1. import type { InjectionKey, Ref } from 'vue';
  2. import type { MaybeRef } from '@vueuse/core';
  3. export declare type ElIdInjectionContext = {
  4. prefix: number;
  5. current: number;
  6. };
  7. export declare const ID_INJECTION_KEY: InjectionKey<ElIdInjectionContext>;
  8. export declare const useIdInjection: () => ElIdInjectionContext;
  9. export declare const useId: (deterministicId?: MaybeRef<string> | undefined) => Ref<string>;