DomRenderer class

DomRenderer converts a String into HtmlNodes

Constructors

DomRenderer()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

render(Element parent, String content, { bool replaceNode: true }) → Future<Element>
Renders the {content} String into the given {parent} - {content} must have ONE! top level element. If {replaceNode} is false {content} will be added to {parent} otherwise th new {content} replaces the old content [...]
renderBefore(Element parent, Element reference, String content) → Future<Element>
Renders {content} and inserts the generated node before {reference} If {reference} is null the new node will be added as last child to its {parent}
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited