- useScreenLock(): {
error: Ref<any>;
orientation: Ref<OrientationLockType>;
toggle: ((type) => void);
} Returns {
error: Ref<any>;
orientation: Ref<OrientationLockType>;
toggle: ((type) => void);
}
error: Ref<any>
orientation: Ref<OrientationLockType>
toggle: ((type) => void)
- (type): void
Parameters
- type: OrientationLockType
Returns void
https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock