h2

fun ElementSink.h2(block: NodeBuilder.() -> Unit = {})

Appends an h2 heading element to this sink.

Parameters

block

configures the new node (props, children); defaults to an empty body.