A tspan element is a text element that allows the user to change the style or position of the rendered text inside the tspan.
Constructs a tspan element
Class attribute for the root element.
The root element of the tspan object
Style for the root element.
The update function describes how this element should update itself
The controller manages the dependencies between elements. Every element is added to this controller upon creation.
This number uniquely identifes elements
Allows for the events attatched to elements to be disabled.
Returns the unique generated identifier associated with this element.
The text contents of this tspan element Sets the text contents of this tspan element to the provided string
Declares this element dependent on the provided element(s).
Appends the element as a child within this element.
Removes all child elements from this element.
Returns true if this element contains the argument element.
Returns the bounding box of this element. Note, this is different from the getBoundingClientRect method since the bounding box is affected by the current viewPort.
If this element's root is not a SVGGraphics element as is the case for the marker, title, and more element, then null is returned instead of a DOMRect.
Inserts the element before the first child within this element.
Removes this element from the DOM and from the Element controller.
Creates a child tspan element.
Updates all of the elements that depend on this element.
Clears the static data structures holding elements and resets the count.
Generated using TypeDoc