W3cubDocs

/Haxe JavaScript

ScreenOrientation

package js.html

extends EventTarget

@:native("ScreenOrientation") Available on js

Variables

read only angle:Int

onchange:Function

read only type:OrientationType

Methods

lock (orientation:OrientationLockType):Promise<Void>

Throws:

null DOMError

unlock ():Void

Throws:

null DOMError

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/ScreenOrientation.html