Skip to content

@advjs/monorepo / @advjs/client / useScreenLock

Function: useScreenLock() ​

useScreenLock(): object

Defined in: packages/client/composables/useScreenLock.ts:9

https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/lock

Returns ​

object

error ​

error: Ref<any, any>

orientation ​

orientation: Ref<OrientationLockType, OrientationLockType>

toggle ​

toggle: (type) => void

Parameters ​

type ​

OrientationLockType

Returns ​

void

See ​

MDN Reference