DOMRenderer
Convert HtmlNodes into DOM elements for Scala.js.
An important functionality of this renderer is composing Cancelable objects so that resources allocated along with the rendered DOM objects will be properly discarded.
Resources include event listeners, Rx subscribers, etc.
Attributes
- Graph
-
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
DOMRenderer.type
Members list
Value members
Concrete methods
Create a new DOM node from the given RxElement
Create a new DOM node from the given RxElement
Attributes
- Returns
-
A pair of the rendered DOM node and a Cancelable object to clean up the rendered elements
Render HtmlNode to a div element with the given id in the document. If the node doesn't exist, this method will create a new div element with the nodeId.
Render HtmlNode to a div element with the given id in the document. If the node doesn't exist, this method will create a new div element with the nodeId.
Attributes
- Returns
-
A pair of the rendered DOM node and a Cancelable object to clean up the rendered elements
Inherited methods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods