版博士V2.0程序
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

12 рядки
459 B

  1. import type { Ref } from 'vue';
  2. import type { UseNamespaceReturn } from '../use-namespace';
  3. export declare type UseLockScreenOptions = {
  4. ns?: UseNamespaceReturn;
  5. };
  6. /**
  7. * Hook that monitoring the ref value to lock or unlock the screen.
  8. * When the trigger became true, it assumes modal is now opened and vice versa.
  9. * @param trigger {Ref<boolean>}
  10. */
  11. export declare const useLockscreen: (trigger: Ref<boolean>, options?: UseLockScreenOptions) => void;