boda_jsEnv/bodaEnv/env/HTMLParamElement.js
xuxiaobo-bobo 842b34b5ca 0218
2024-02-18 15:40:48 +08:00

74 lines
2.8 KiB
JavaScript

// HTMLParamElement对象
bodaEnv.memory.globlProtoObj["HTMLParamElement"] = function HTMLParamElement() {
let arg = arguments[0];
if (arg != 'bobo') {
bodaEnv.toolsFunc.console_copy('HTMLParamElement 实例化对象 --->', bodaEnv.toolsFunc.stringify_bo(arguments, function (k, v) {
if (v == window) {
return 'window';
} else {
return v;
}
}));
}
;
};
bodaEnv.toolsFunc.safeProto(bodaEnv.memory.globlProtoObj["HTMLParamElement"], "HTMLParamElement");
bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype.__proto__ = bodaEnv.memory.globlProtoObj["HTMLElement"].prototype;
bodaEnv.memory.globlProtoObj["HTMLParamElement"].__proto__ = bodaEnv.memory.globlProtoObj["HTMLElement"];
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "name", {
configurable: true,
enumerable: true,
get: {
name() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "HTMLParamElement", "name_get", arguments);
}
}.name,
set: {
name() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "HTMLParamElement", "name_set", arguments);
}
}.name
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "value", {
configurable: true,
enumerable: true,
get: {
value() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "HTMLParamElement", "value_get", arguments);
}
}.value,
set: {
value() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "HTMLParamElement", "value_set", arguments);
}
}.value
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "type", {
configurable: true,
enumerable: true,
get: {
type() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "HTMLParamElement", "type_get", arguments);
}
}.type,
set: {
type() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "HTMLParamElement", "type_set", arguments);
}
}.type
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "valueType", {
configurable: true,
enumerable: true,
get: {
valueType() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "HTMLParamElement", "valueType_get", arguments);
}
}.valueType,
set: {
valueType() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLParamElement"].prototype, "HTMLParamElement", "valueType_set", arguments);
}
}.valueType
});