mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-21 15:30:18 +08:00
18 lines
523 B
JavaScript
18 lines
523 B
JavaScript
// getSelection对象
|
|
bodaEnv.memory.globlProtoObj["getSelection"] = {
|
|
getSelection(a) {
|
|
bodaEnv.toolsFunc.console_copy(`getSelection 使用-- >`, a);
|
|
}
|
|
}.getSelection;
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["getSelection"], "length", {
|
|
configurable: true,
|
|
enumerable: false,
|
|
writable: false,
|
|
value: 0
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["getSelection"], "name", {
|
|
configurable: true,
|
|
enumerable: false,
|
|
writable: false,
|
|
value: 'getSelection'
|
|
}); |