Metadata

Constructor

None

Properties

Name Type
viewer (readonly) Viewer
graph (readonly) Graph
children (readonly) Array< Element >
firstElementChild (readonly) Element | null
lastElementChild (readonly) Element | null
childNodes (readonly) Array< Node >
firstChild (readonly) Node | null
lastChild (readonly) Node | null
innerHTML string
outerHTML (readonly) string
textContent string | null

Methods

Return Type Method
Node appendChild(node: Node)
void append(...nodes: (Node | string)[])
void prepend(...nodes: (Node | string)[])
boolean contains(other: Node)
boolean hasChildNodes()
Node insertBefore(node: Node,child: Node)
void insertAdjacentHTML(position: string, text: string)
Node removeChild(child: Node)
Node replaceChild(newChild: Node, oldChild: Node)
Element | null querySelector(selectors: string)
Array< Element > querySelectorAll(selectors: string)
Array< Element > getElementsByTagName(tagName: string)
Array< Element > getElementsByClassName(classNames: string)
boolean static is(element: SVGMetadataElement)
Metadata static cast(element: SVGMetadataElement)

Events

None