Html class
Signature:
export class borogove_Html
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(xml, sender) |
protected
|
Constructs a new instance of the borogove_Html class
|
Methods
| Method | Modifiers | Description |
|---|---|---|
| asDOM() | Get HTML as a DocumentFragment | |
| element(tag, attrs, children) |
static
|
HTML builder, make an element |
| fragment(nodes) |
static
|
HTML builder, make a fragment |
| fromString(html) |
static
|
Build HTML payload from source |
| reduce(f) | Walk the HTML tree to produce a new value | |
| text(text) |
static
|
HTML builder, make some text |
| toPlainText() | Get plain text suitable for showing to a user | |
| toString() | Get HTML source as a string |