Javascript API

Get Started. It's Free
or sign up with your email address
Javascript API by Mind Map: Javascript API

1. Core DOM

1.1. Nodelist Properties

1.1.1. length

1.2. Nodelist Methods

1.2.1. item()

1.3. NamedNodeMap Properties

1.3.1. length

1.4. NamedNodeMap Methods

1.4.1. getNamedItem()

1.4.2. getNamedItemNS()

1.4.3. item()

1.4.4. removeNamedItem()

1.4.5. removeNamedItemNS()

1.4.6. setNamedItem()

1.4.7. setNamedItemNS()

1.5. Document Properties

1.5.1. doctype

1.5.2. documentElement

1.5.3. documentURI

1.5.4. domConfig

1.5.5. implementation

1.5.6. inputEncoding

1.5.7. xmlEncoding

1.5.8. xmlVersion

1.6. Document Methods

1.6.1. adoptNode(node)

1.6.2. createAttribute()

1.6.3. createAttributeNS(URI,name)

1.6.4. createCDATASection()

1.6.5. createComment()

1.6.6. createDocumentFragment()

1.6.7. createElement()

1.6.8. createElementNS()

1.6.9. createProcessingInstruction()

1.6.10. createTextNode()

1.6.11. getElementById()

1.6.12. getElementsByTagName()

1.6.13. getElementsByName()

1.6.14. querySelectorAll()

1.6.15. querySelector()

1.6.16. getElementsByTagNameNS()

1.6.17. importNode()

1.6.18. normalizeDocument()

1.7. Element Properties

1.7.1. schemaTypeInfo

1.7.2. tagName

1.8. Element Methods

1.8.1. getAttribute()

1.8.2. getAttributeNS()

1.8.3. getAttributeNode()

1.8.4. getAttributeNodeNS()

1.8.5. getElementsByTagName()

1.8.6. getElementsByTagNameNS()

1.8.7. hasAttribute()

1.8.8. hasAttributeNS()

1.8.9. removeAttribute()

1.8.10. removeAttributeNS()

1.8.11. removeAttributeNode()

1.8.12. setAttribute()

1.8.13. setAttributeNS()

1.8.14. setAttributeNode()

1.8.15. setAttributeNodeNS()

1.8.16. setIdAttribute()

1.8.17. setIdAttributeNS()

1.8.18. setIdAttributeNode()

1.9. Attr Properties

1.9.1. isId

1.9.2. name

1.9.3. ownerElement

1.9.4. schemaTypeInfo

1.9.5. specified

1.9.6. value

2. DOM Node

2.1. Node Properties

2.1.1. attributes

2.1.2. baseURI

2.1.3. childNodes

2.1.4. firstChild

2.1.5. lastChild

2.1.6. localName

2.1.7. namespaceURI

2.1.8. nextSibling

2.1.9. nodeName

2.1.10. nodeType

2.1.11. nodeValue

2.1.12. ownerDocument

2.1.13. parentNode

2.1.14. prefix

2.1.15. previousSibling

2.1.16. textContent

2.2. Node Methods

2.2.1. appendChild()

2.2.2. cloneNode()

2.2.3. compareDocumentPosition()

2.2.4. getFeature(feature,version)

2.2.5. getUserData(key)

2.2.6. hasAttributes()

2.2.7. hasChildNodes()

2.2.8. insertBefore()

2.2.9. isDefaultNamespace()

2.2.10. isEqualNode()

2.2.11. isSameNode()

2.2.12. isSupported()

2.2.13. lookupNamespaceURI()

2.2.14. lookupPrefix()

2.2.15. normalize()

2.2.16. removeChild()

2.2.17. replaceChild()

2.2.18. setUserData(key,data,handler)

2.3. Node Types

2.3.1. Element

2.3.2. Attr

2.3.3. Text

2.3.4. CDATASection

2.3.5. EntityReference

2.3.6. Entity

2.3.7. ProcessingInstruction

2.3.8. Comment

2.3.9. Document

2.3.10. DocumentType

2.3.11. DocumentFragment

2.3.12. Notation

2.4. nodeName Returns

2.4.1. Element

2.4.2. Attr

2.4.3. Text

2.4.4. CDATASection

2.4.5. EntityReference

2.4.6. Entity

2.4.7. ProcessingInstruction

2.4.8. Comment

2.4.9. Document

2.4.10. DocumentType

2.4.11. DocumentFragment

2.4.12. Notation

2.5. nodeValue Returns

2.5.1. Element

2.5.2. Attr

2.5.3. Text

2.5.4. CDATASection

2.5.5. EntityReference

2.5.6. Entity

2.5.7. ProcessingInstruction

2.5.8. Comment

2.5.9. Document

2.5.10. DocumentType

2.5.11. DocumentFragment

2.5.12. Notation

3. DOM Events

3.1. Mouse Events

3.1.1. click

3.1.2. dblclick

3.1.3. mousedown

3.1.4. mousemove

3.1.5. mouseover

3.1.6. mouseout

3.1.7. mouseup

3.2. Keyboard Events

3.2.1. keydown

3.2.2. keypress

3.2.3. keyup

3.3. Frame Events

3.3.1. abort

3.3.2. error

3.3.3. load

3.3.4. resize

3.3.5. scroll

3.3.6. unload

3.4. Form Events

3.4.1. blur

3.4.2. change

3.4.3. focus

3.4.4. reset

3.4.5. select

3.4.6. onsubmit

3.5. Event Object Constant

3.5.1. AT_TARGET

3.5.2. BUBBLING_PHASE

3.5.3. CAPTURING_PHASE

3.6. Event Object Properties

3.6.1. bubbles

3.6.2. cancelable

3.6.3. currentTarget

3.6.4. eventPhase

3.6.5. target

3.6.6. timeStamp

3.6.7. type

3.7. Event Object Methods

3.7.1. initEvent()

3.7.2. preventDefault()

3.7.3. stopPropagation()

3.8. EventTarget Object

3.8.1. addEventListener()

3.8.2. dispatchEvent()

3.8.3. removeEventListener()

3.9. EventListener Object

3.9.1. handleEvent()

3.10. MouseEvent/KeyboardEvent Object

3.10.1. altKey

3.10.2. button

3.10.3. clientX

3.10.4. clientY

3.10.5. ctrlKey

3.10.6. keyIdentifier

3.10.7. keyLocation

3.10.8. metaKey

3.10.9. relatedTarget

3.10.10. screenX

3.10.11. screenY

3.10.12. shiftKey

3.11. MouseEvent/KeyboardEvent Methods

3.11.1. initMouseEvent()

3.11.2. initKeyboardEvent()