mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-19 02:24:42 +08:00
318 lines
12 KiB
JavaScript
318 lines
12 KiB
JavaScript
// HTMLAreaElement对象
|
|
|
|
bodaEnv.memory.globlProtoObj["HTMLAreaElement"] = function HTMLAreaElement() {
|
|
let arg = arguments[0];
|
|
if (arg != 'bobo') {
|
|
bodaEnv.toolsFunc.console_copy('HTMLAreaElement 实例化对象 --->', bodaEnv.toolsFunc.stringify_bo(arguments, function (k, v) {
|
|
if (v == window) {
|
|
return 'window';
|
|
} else {
|
|
return v;
|
|
}
|
|
}));
|
|
}
|
|
;
|
|
};
|
|
bodaEnv.toolsFunc.safeProto(bodaEnv.memory.globlProtoObj["HTMLAreaElement"], "HTMLAreaElement");
|
|
bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype.__proto__ = bodaEnv.memory.globlProtoObj["HTMLElement"].prototype;
|
|
bodaEnv.memory.globlProtoObj["HTMLAreaElement"].__proto__ = bodaEnv.memory.globlProtoObj["HTMLElement"];
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "alt", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
alt() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "alt_get", arguments);
|
|
}
|
|
}.alt,
|
|
set: {
|
|
alt() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "alt_set", arguments);
|
|
}
|
|
}.alt
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "coords", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
coords() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "coords_get", arguments);
|
|
}
|
|
}.coords,
|
|
set: {
|
|
coords() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "coords_set", arguments);
|
|
}
|
|
}.coords
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "download", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
download() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "download_get", arguments);
|
|
}
|
|
}.download,
|
|
set: {
|
|
download() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "download_set", arguments);
|
|
}
|
|
}.download
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "shape", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
shape() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "shape_get", arguments);
|
|
}
|
|
}.shape,
|
|
set: {
|
|
shape() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "shape_set", arguments);
|
|
}
|
|
}.shape
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "target", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
target() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "target_get", arguments);
|
|
}
|
|
}.target,
|
|
set: {
|
|
target() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "target_set", arguments);
|
|
}
|
|
}.target
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "ping", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
ping() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "ping_get", arguments);
|
|
}
|
|
}.ping,
|
|
set: {
|
|
ping() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "ping_set", arguments);
|
|
}
|
|
}.ping
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "rel", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
rel() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "rel_get", arguments);
|
|
}
|
|
}.rel,
|
|
set: {
|
|
rel() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "rel_set", arguments);
|
|
}
|
|
}.rel
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "relList", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
relList() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "relList_get", arguments);
|
|
}
|
|
}.relList,
|
|
set: {
|
|
relList() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "relList_set", arguments);
|
|
}
|
|
}.relList
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "referrerPolicy", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
referrerPolicy() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "referrerPolicy_get", arguments);
|
|
}
|
|
}.referrerPolicy,
|
|
set: {
|
|
referrerPolicy() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "referrerPolicy_set", arguments);
|
|
}
|
|
}.referrerPolicy
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "noHref", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
noHref() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "noHref_get", arguments);
|
|
}
|
|
}.noHref,
|
|
set: {
|
|
noHref() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "noHref_set", arguments);
|
|
}
|
|
}.noHref
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "origin", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
origin() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "origin_get", arguments);
|
|
}
|
|
}.origin,
|
|
set: undefined
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "protocol", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
protocol() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "protocol_get", arguments);
|
|
}
|
|
}.protocol,
|
|
set: {
|
|
protocol() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "protocol_set", arguments);
|
|
}
|
|
}.protocol
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "username", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
username() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "username_get", arguments);
|
|
}
|
|
}.username,
|
|
set: {
|
|
username() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "username_set", arguments);
|
|
}
|
|
}.username
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "password", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
password() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "password_get", arguments);
|
|
}
|
|
}.password,
|
|
set: {
|
|
password() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "password_set", arguments);
|
|
}
|
|
}.password
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "host", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
host() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "host_get", arguments);
|
|
}
|
|
}.host,
|
|
set: {
|
|
host() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "host_set", arguments);
|
|
}
|
|
}.host
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "hostname", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
hostname() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "hostname_get", arguments);
|
|
}
|
|
}.hostname,
|
|
set: {
|
|
hostname() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "hostname_set", arguments);
|
|
}
|
|
}.hostname
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "port", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
port() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "port_get", arguments);
|
|
}
|
|
}.port,
|
|
set: {
|
|
port() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "port_set", arguments);
|
|
}
|
|
}.port
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "pathname", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
pathname() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "pathname_get", arguments);
|
|
}
|
|
}.pathname,
|
|
set: {
|
|
pathname() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "pathname_set", arguments);
|
|
}
|
|
}.pathname
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "search", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
search() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "search_get", arguments);
|
|
}
|
|
}.search,
|
|
set: {
|
|
search() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "search_set", arguments);
|
|
}
|
|
}.search
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "hash", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
hash() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "hash_get", arguments);
|
|
}
|
|
}.hash,
|
|
set: {
|
|
hash() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "hash_set", arguments);
|
|
}
|
|
}.hash
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "href", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
href() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "href_get", arguments);
|
|
}
|
|
}.href,
|
|
set: {
|
|
href() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "href_set", arguments);
|
|
}
|
|
}.href
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "toString", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
writable: true,
|
|
value: {
|
|
toString() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["HTMLAreaElement"].prototype, "HTMLAreaElement", "toString", arguments);
|
|
}
|
|
}.toString
|
|
}); |