Files
dsProject/dsBase/WebRoot/html/cdn/es/hooks/use-lockscreen/index.d.ts
2025-08-14 15:45:08 +08:00

8 lines
290 B
TypeScript

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