boda_jsEnv/env_xbb_lastest_jsdom/env/DeviceOrientationEvent.js
xuxiaobo-bobo 28c0fc3999 '0218'
2023-02-18 03:07:48 +08:00

10 lines
1.8 KiB
JavaScript

// DeviceOrientationEvent对象
bodavm.memory.globalobj['DeviceOrientationEvent'] = function DeviceOrientationEvent(){return bodavm.toolsFunc.throwError("TypeError", "Failed to construct 'DeviceOrientationEvent': 1 argument required, but only 0 present.")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['DeviceOrientationEvent'], "DeviceOrientationEvent");
bodavm.memory.globalobj['DeviceOrientationEvent'].prototype.__proto__=bodavm.memory.globalobj['Event'].prototype;
bodavm.memory.globalobj['DeviceOrientationEvent'].__proto__=bodavm.memory.globalobj['Event'];
bodavm.toolsFunc.defineProperty('DeviceOrientationEvent', "alpha", {configurable:true, enumerable:true, get:function alpha (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DeviceOrientationEvent'].prototype, "DeviceOrientationEvent", "alpha_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('DeviceOrientationEvent', "beta", {configurable:true, enumerable:true, get:function beta (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DeviceOrientationEvent'].prototype, "DeviceOrientationEvent", "beta_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('DeviceOrientationEvent', "gamma", {configurable:true, enumerable:true, get:function gamma (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DeviceOrientationEvent'].prototype, "DeviceOrientationEvent", "gamma_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('DeviceOrientationEvent', "absolute", {configurable:true, enumerable:true, get:function absolute (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DeviceOrientationEvent'].prototype, "DeviceOrientationEvent", "absolute_get", arguments)}, set:undefined},'prototype');