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