Interface LockOrientation

interface LockOrientation {
    element?: HTMLElement;
    lock: boolean;
}

Properties

Properties

element?: HTMLElement

element - Element used for fullscreen mode. This is required in order to lock the screen. If no element was set it will default to the element set as root in the configuration (AnylineJSParams).

lock: boolean

lock - Defines whether or not the screen orientation should be locked to portrait.