index.d.ts 290 B

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