API > useScreenLock
Function: useScreenLock()
useScreenLock():
object
https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock
Returns
error
error:
Ref
<any
>orientation
orientation:
Ref
<OrientationLockType
>toggle
toggle: (
type
) =>void
Parameters
▪ type:
OrientationLockType
See
Source
packages/core/src/composables/useScreenLock.ts:9
Generated using typedoc-plugin-markdown and TypeDoc