DeviceOrientationEvent factory constructor
DeviceOrientationEvent(Source
factory DeviceOrientationEvent(String type, {bool canBubble: true, bool cancelable: true, num alpha: 0, num beta: 0, num gamma: 0, bool absolute: false}) { DeviceOrientationEvent e = document._createEvent("DeviceOrientationEvent"); e._initDeviceOrientationEvent( type, canBubble, cancelable, alpha, beta, gamma, absolute); return e; }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/DeviceOrientationEvent/DeviceOrientationEvent.html