DOM Methods
From Svg wiki
There are several DOM methods and objects that are of particular use when creating and manipulating SVG.
Note: Until this section of the wiki is complete, it is also useful to check on ObjJob SVG Methods.
Contents |
[edit]
Event Characteristics
- evt
- target
- currentTarget
- clientX
- clientY
- screenX
- screenY
- ownerDocument
- preventDefault
- stopPropagation
- detail
[edit]
Element Characteristics
- getElementById
- documentElement
- getElementsByTagNameNS
- createElementNS
- attributes
- hasAttributeNS
- createAttributeNS
- getAttributeNS
- setAttributeNS
- removeAttributeNS
- getAttributeNodeNS
- setAttributeNodeNS
- getNamedItemNS
- setNamedItemNS
- removeNamedItemNS
- nodeType
- nodeName
- localName
- addEventListener
- removeEventListener
- getBBox
- getCTM
- getScreenCTM
- getTransformToElement
- currentScale
- currentTranslate
- checkEnclosure
- checkIntersection
- getPointAtLength
- getTotalLength
[edit]
Hierarchy Methods
[edit]
Text Methods
- createTextNode
- getCharNumAtPosition
- getExtentOfChar
- getStartPositionOfChar
- getEndPositionOfChar
- getNumberOfChars
- getComputedTextLength
[edit]
Object Methods
[edit]
