mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 23:44:23 +08:00
8 lines
1.4 KiB
JavaScript
8 lines
1.4 KiB
JavaScript
// HTMLOptGroupElement对象
|
|
bodavm.memory.globalobj['HTMLOptGroupElement'] = function HTMLOptGroupElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
|
|
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLOptGroupElement'], "HTMLOptGroupElement");
|
|
bodavm.memory.globalobj['HTMLOptGroupElement'].prototype.__proto__=bodavm.memory.globalobj['HTMLElement'].prototype;
|
|
bodavm.memory.globalobj['HTMLOptGroupElement'].__proto__=bodavm.memory.globalobj['HTMLElement'];
|
|
bodavm.toolsFunc.defineProperty('HTMLOptGroupElement', "disabled", {configurable:true, enumerable:true, get:function disabled (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLOptGroupElement'].prototype, "HTMLOptGroupElement", "disabled_get", arguments)}, set:function disabled (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLOptGroupElement'].prototype, "HTMLOptGroupElement", "disabled_set", arguments)}},'prototype');
|
|
bodavm.toolsFunc.defineProperty('HTMLOptGroupElement', "label", {configurable:true, enumerable:true, get:function label (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLOptGroupElement'].prototype, "HTMLOptGroupElement", "label_get", arguments)}, set:function label (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLOptGroupElement'].prototype, "HTMLOptGroupElement", "label_set", arguments)}},'prototype');
|