📄 basebrowserlibrary.js
字号:
* @type Node * @class Node * @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 */ Node.prototype.firstChild=new Node(); /** * Property lastChild * @type Node * @class Node * @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 */ Node.prototype.lastChild=new Node(); /** * Property previousSibling * @type Node * @class Node * @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 */ Node.prototype.previousSibling=new Node(); /** * Property nextSibling * @type Node * @class Node * @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 */ Node.prototype.nextSibling=new Node(); /** * Property attributes * @type NamedNodeMap * @class Node * @see Node * @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 */ Node.prototype.attributes=new NamedNodeMap();/** * Property ownerDocument * @type Document * @class Node * @see Node * @see Document * @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 */ Node.prototype.ownerDocument = new Document(); /** * Property namespaceURI * @type String * @class Node * @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 */ Node.prototype.namespaceURI=""; /** * Property prefix * @type String * @class Node * @see Node * @throws DOMException on setting. * @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 */ Node.prototype.prefix = ""; /** * Property localName * @type String * @class Node * @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 */ Node.prototype.localName= "";/** * function insertBefore(newChild, refChild) * @type Node * @class Node * @param newChilds Node * @param refChild Node * @return Node * @throws DOMException * @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 */ Node.prototype.insertBefore = function(newChild, refChild){}; /** * function replaceChild(newChild, oldChild) * @type Node * @class Node * @param newChilds Node * @param oldChild Node * @return Node * @throws DOMException * @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 */ Node.prototype.replaceChild = function(newChild, oldChild){}; /** * function removeChild(oldChild) * @type Node * @class Node * @param oldChild Node * @return Node * @throws DOMException * @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 */ Node.prototype.removeChild = function(oldChild){}; /** * function appendChild(newChild) * @type Node * @class Node * @param newChild Node * @return Node * @throws DOMException * @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 */ Node.prototype.appendChild = function(newChild){}; /** * function hasChildNodes() * @type Boolean * @class Node * @return Boolean * @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 */Node.prototype.hasChildNodes=function(){}; /** * function hasChildNodes() * @type Node * @class Node * @param deep Boolean * @return Node * @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 */Node.prototype.cloneNode=function(deep){}; /** * function normalize() * @class Node * @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 */Node.prototype.normalize = function(){}; /** * function isSupported(feature, version) * @type Boolean * @class Node * @param feature String * @param version String * @return Boolean; * @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 */ Node.prototype.isSupported=function(feature, version){}; /** * function hasAttributes() * @type Boolean * @class Node * @return Boolean; * @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 */ Node.prototype.hasAttributes=function(){}; /** * Object NodeList * @constructor * @class NodeList * @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 */ function NodeList(){};NodeList.prototype = new Object(); /** * property length * @type Number * @class NodeList * @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 */ NodeList.prototype.length=0; /** * 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 NodeList * @param index Number * @return Node; * @see NodeList * @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 */ NodeList.prototype.item = function(index){}; /** * Object DocumentFragment() * DocumentFragment inherits all of the methods and properties from Document and Node. * @super Document * @constructor * @see Document * @class DocumentFragment * @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 DocumentFragment(){};DocumentFragment.prototype=new Document(); /** * Object Document() * Document inherits all of the methods and properties from Node. * @super Node * @constructor * @see Node * @class Document * @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 Document(){};Document.prototype = new Node();/** * property doctype * @type DocumentType * @see Document * @see DocumentType * @class Document * @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.doctype = new DocumentType(); /** * property implementation * @type DOMImplementation * @see Document * @see DOMImplementation * @class Document * @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.implementation = new DOMImplementation();/** * property documentElement * @type Element * @see Document * @see Element * @class Document * @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.documentElement= new Element(); /** * function createElement(tagName) * @type Element * @class Document * @param tagName 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.createElement=function(tagName){}; /** * function createDocumentFragment() * @type DocumentFragment * @class Document * @return DocumentFragment; * @see Document * @see DocumentFragment * @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.createDocumentFragment=function(){}; /** * function createTextNode(data) * @type Text * @class Document * @param data String * @return Text; * @see Document * @see Text * @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.createTextNode=function(data){}; /** * function createComment(data) * @type Comment * @class Document * @param data String * @return Comment; * @see Document * @see Comment * @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.createComment=function(data){}; /** * function createCDATASection(data) * @type CDATASection * @class Document * @param data String * @return CDATASection * @throws DOMException * @see Document * @see CDATASection * @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.createCDATASection(data) /** * function createProcessingInstruction(target, data) * @type ProcessingInstruction * @class Document * @param target String * @param data String; * @return ProcessingInstruction * @throws DOMException * @see Document * @see ProcessingInstruction * @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.createProcessingInstruction=function(target, data){}; /** * function createAttribute(name) * @type Attr * @class Document * @param name 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.createAttribute=function(name){}; /** * function createEntityReference(name) * @type DOMException * @class Document * @param name String * @return EntityReference * @throws DOMException * @see Document * @see EntityReference * @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.createEntityReference=function(name){}; /** * function getElementsByTagName(tagname) * @type NodeList * @class Document * @param tagname 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.getElementsByTagName=function(tagname){}; /** * function importNode(importedNode, deep) * @type Node * @class Document * @param importedNode Node * @param deep Boolean * @return Node * @throws DOMException * @see Document * @see Node * @since Standard ECMA-262 3rd. Edition
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -