Explorer

html-ui.text-element

description
An element without attributes that has only a text (such as h2 or p)
type
Fn(name: String, text: String) -> @html.node
expression
fn(name$0, text$1) =>
  @html.element(name: $0, attributes: [], children: [@html.text(text: $1)])
visibility
public
html-ui.text-element (project html-ui, branch main, snapshot Daaw3vbJhY15cDW6JsA4JuXvffjj_qFyxoZQMUM8hvQ)
id: 6jCdt3dr6MlGzqGzRQ1VwTNvc1vXeT39RmqvBPMuuEg
content hash: _XpNHKwgJHuXGItqXq6N38OL-hesBiomOLM6zAt82C0