Skip to content

@advjs/monorepo / core/src / useScreenLock

Function: useScreenLock()

useScreenLock(): object

Defined in: packages/core/src/composables/useScreenLock.ts:9

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

Returns

object

error

error: Ref

orientation

orientation: Ref<OrientationLockType, OrientationLockType>

toggle()

toggle: (type) => void

Parameters

type

OrientationLockType

Returns

void

See

MDN Reference