Static methods

staticelement(tag:String, attrs:DynamicAccess<String>, children:Array<Html>):Html

HTML builder, make an element

staticfragment(nodes:Array<Html>):Html

HTML builder, make a fragment

staticfromString(html:String):Html

Build HTML payload from source

statictext(text:String):Html

HTML builder, make some text

Methods

asDOM():DocumentFragment

Get HTML as a DocumentFragment

reduce<T>(f:(String, Null<Array<String>>, Null<Array<String>>, Null<Array<T>>) ‑> T):Array<T>

Walk the HTML tree to produce a new value

toPlainText():String

Get plain text suitable for showing to a user

toString():String

Get HTML source as a string