版博士V2.0程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

10 righe
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>;