📄 basebrowserlibrary.js
字号:
* @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */Document.prototype.importNode=function(importedNode, deep){}; /** * function createElementNS(namespaceURI, qualifiedName) * @type Element * @class Document * @param namespaceURI String * @param qualifiedName String * @return Element * @throws DOMException * @see Document * @see Element * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */Document.prototype.createElementNS=function(namespaceURI, qualifiedName){}; /** * function createAttributeNS(namespaceURI, qualifiedName) * @type Attr * @class Document * @param namespaceURI String * @param qualifiedName String * @return Attr * @throws DOMException * @see Document * @see Attr * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */Document.prototype.createAttributeNS=function(namespaceURI, qualifiedName){}; /** * function getElementsByTagNameNS(namespaceURI, localName) * @type NodeList * @class Document * @param namespaceURI String * @param qualifiedName String * @return NodeList * @see Document * @see NodeList * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */Document.prototype.getElementsByTagNameNS=function(namespaceURI, localName){}; /** * function getElementById(elementId) * @type Element * @class Document * @param elementId String * @return Element * @see Document * @see Element * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Document.prototype.getElementById=function(elementId){}; /** * function write(text) * @class Document * @param text String * @see Document * @since Standard ECMA-262 3rd. Edition * @since Level 1 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Document.prototype.write=function(text){}; /** * function writeln(text) * @class Document * @param text String * @see Document * @since Standard ECMA-262 3rd. Edition * @since Level 1 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Document.prototype.writeln=function(text){}; /** * function close() * @class Document * @see Document * @since Standard ECMA-262 3rd. Edition * @since Level 1 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Document.prototype.close=function(){}; /** * function open() * @class Document * @see Document * @since Standard ECMA-262 3rd. Edition * @since Level 1 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Document.prototype.open=function(){}; /** * Object NamedNodeMap() * @super Object * @constructor * @class NamedNodeMap * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */function NamedNodeMap(){};NamedNodeMap.prototype = new Object();/** * property length * @type Number * @class NamedNodeMap; * @see NamedNodeMap * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */NamedNodeMap.prototype.length=0; /** * function getNamedItem(name) * @type Node * @class NamedNodeMap * @param Name String * @return Node * @see NamedNodeMap * @see Node * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ NamedNodeMap.prototype.getNamedItem=function(name){}; /** * function setNamedItem(arg) * @type Node * @class NamedNodeMap * @param arg Node * @return Node * @throws DOMException * @see NamedNodeMap * @see Node * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */NamedNodeMap.prototype.setNamedItem=function(arg){}; /** * function removeNamedItem(name) * @type Node * @class NamedNodeMap * @param name String * @return Node * @throws DOMException * @see NamedNodeMap * @see Node * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */NamedNodeMap.prototype.removeNamedItem=function(name){}; /** * function item(index) * Note: This object can also be dereferenced using square bracket notation (e.g. obj[1]). Dereferencing with an integer index is equivalent to invoking the item method with that index. * @type Node * @class NamedNodeMap * @param index Number * @return Node * @see NamedNodeMap * @see Node * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */NamedNodeMap.prototype.item=function(index){}; /** * function getNamedItemNS(namespaceURI, localName) * @type Node * @class NamedNodeMap * @param namespaceURI String * @param localName String * @return Node * @see NamedNodeMap * @see Node * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */NamedNodeMap.prototype.getNamedItemNS=function(namespaceURI, localName){}; /** * function setNamedItemNS(arg) * @type Node * @class NamedNodeMap * @param arg Node * @param localName String * @return Node * @throws DOMException * @see NamedNodeMap * @see Node * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */NamedNodeMap.prototype.setNamedItemNS=function(arg){}; /** * function removeNamedItemNS(namespaceURI, localName) * @type Node * @class NamedNodeMap * @param namespaceURI String * @param localName String * @return Node * @throws DOMException * @see NamedNodeMap * @see Node * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */NamedNodeMap.prototype.removeNamedItemNS=function(namespaceURI, localName){}; /** * Object CharacterData() * CharacterData inherits all of the methods and properties from Node. * @super Node * @constructor * @see Node * @class CharacterData * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ function CharacterData(){};CharacterData.prototype=new Node();/** * property data * @type String * @class CharacterData * @throws DOMException on setting and can raise a DOMException object on retrieval. * @see CharacterData * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */CharacterData.prototype.data=""; /** * property length * @type Number * @class CharacterData * @see CharacterData * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ CharacterData.prototype.length=0; /** * function substringData(offset, count) * @type String * @class CharacterData * @param parameter Number * @param count Number * @return String * @throws DOMException * @see CharacterData * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ CharacterData.prototype.substringData=function(offset, count){}; /** * function appendData(arg) * @type String * @class CharacterData * @param arg String * @return String * @throws DOMException * @see CharacterData * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ CharacterData.prototype.appendData=function(arg){}; /** * function insertData(offset, arg) * @class CharacterData * @param offset Number * @param arg String * @throws DOMException * @see CharacterData * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */CharacterData.prototype.insertData=function(offset, arg){}; /** * function deleteData(offset, count) * @class CharacterData * @param offset Number * @param count Number * @throws DOMException * @see CharacterData * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */CharacterData.prototype.deleteData=function(offset, count){}; /** * function replaceData(offset, count, arg) * @class CharacterData * @param offset Number * @param count Number * @param arg String * @throws DOMException * @see CharacterData * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */CharacterData.prototype.replaceData=function(offset, count, arg){}; /** * Object Attr() * Attr inherits all of the methods and properties from Node. * @super Node * @constructor * @see Node * @class Attr * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ function Attr(){};Attr.prototype=new Node();/** * property name * @type String * @class Attr * @see Attr * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Attr.prototype.name=""; /** * property specified * @type Boolean * @class Attr * @see Attr * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Attr.prototype.specified=false; /** * property value * @type Boolean * @class Attr * @throws DOMException on setting and can raise a DOMException object on retrieval. * @see Attr * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Attr.prototype.value="";/** * property ownerElement * @type Element * @class Attr * @throws DOMException on setting and can raise a DOMException object on retrieval. * @see Attr * @see Element * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ Attr.prototype.ownerElement=new Element(); /** * Object Element() * Element inherits all of the methods and properties from Node. * @super Node * @constructor * @see Node * @class Attr * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */ function Element(){};Element.prototype=new Node(); /** * property tagName * @type String * @class Element * @throws DOMException on setting and can raise a DOMException object on retrieval. * @see Attr * @see Element * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */Element.prototype.tagName="";/** * function getAttribute(name) * @type String * @class Element * @param name String * @return String * @see Element * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */Element.prototype.getAttribute=function(name){}; /** * function setAttribute(name, value) * * @class Element * @param name String * @param value String * @throws DOMException * @see Element * @since Standard ECMA-262 3rd. Edition * @since Level 2 Document Object Model Core Definition. * @link http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html */Element.prototype.setAttribute=function(name, value){}; /** * function removeAttribute(name) * @class Element * @param name String
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -