The HTMLElement node class
The Text node class
The Document class
True when the adaptor can measure DOM node sizes
Document in which the nodes are to be created
The HTML node whose class is to be augmented
The class to be added
The HTML node whose attributes are to be returned
The list of attributes
The HTML node whose class list is needed
An array of the class names for this node
The HTML node whose styles are to be returned
The cssText for the styles
The event listener for messages from the worker
The worker options (for path and worker name)
A promise for the worker instance that was created
The stylesheet node whose rules are to be returned
The string version of the stylesheet rules
Optional
doc: DThe document whose doctype is to be obtained
The DOCTYPE comment
The HTML node whose font size is to be determined
The font size (in pixels) of the node
The HTML node whose attribute is to be obtained
The name of the attribute to get
The value of the given attribute of the given node
Get a list of containers (to be searched for math). These can be specified by CSS selector, or as actual DOM elements or arrays of such.
The array of containers to search
The HTML node whose property is to be retrieved
The property to get
The property's value
The HTML node whose style is to be obtained
The style to be obtained
The value of the style
The HTML node whose attribute is to be tested
The name of the attribute to test
True of the node has the given attribute defined
The HTML node whose class is to be tested
The class to test
True if the node has the given class
The HTML node whose inner HTML string is to be obtained
The serialized content of the node
The stylesheet node where the rule will be added
The rule to add at the beginning of the stylesheet
The tag name of the HTML node to be created
Optional
def: OptionListThe properties to set for the created node
Optional
children: (N | T)[]The child nodes for the created HTML node
Optional
ns: stringThe namespace in which to create the node
The generated HTML tree
The HTML node whose dimensions are to be determined
Optional
em: numberThe number of pixels in an em
Optional
local: booleanTrue if local coordinates are to be used in SVG elements
The width and height (in ems) of the element
The HTML node whose outer HTML string is to be obtained
The serialized node and its content
The serialized document to be parsed
Optional
format: stringThe format (e.g., 'text/html' or 'text/xhtml')
The parsed document
The HTML node whose attribute is to be removed
The name of the attribute to remove
The HTML node whose class is to be changed
The class to be removed
The HTML node whose serialized string is to be obtained
The serialized node and its content
The HTML node whose attribute is to be set
The name of the attribute to set
The new value of the attribute
Optional
ns: stringThe namespace to use for the attribute
The HTML element whose attributes are to be set
The attributes to set on that node
The HTML node whose property is to be set
The property to set
The property's new value
The HTML node whose style is to be changed
The style to be set
The new value of the style
The text from which to create an HTML text node
The generated text node with the given text
The HTML node whose text content is to be obtained
The text content of the given node
The interface for the DOMAdaptor