Function useScreenLock

  • 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

Generated using TypeDoc