react_gleam/element

Types

pub type Element

Values

pub fn a(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn abbr(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn address(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn area(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn article(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn aside(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn audio(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn b(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn base(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn bdi(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn bdo(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn blockquote(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn body(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn br(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn button(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn canvas(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn caption(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn cite(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn code(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn col(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn colgroup(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn datalist(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn dd(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn del(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn details(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn dfn(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn dialog(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn div(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn dl(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn dt(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn em(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn embed(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn fieldset(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn figcaption(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn figure(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn footer(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn form(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn h1(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn h2(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn h3(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn h4(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn h5(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn h6(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn head(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn header(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn hr(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn html(
  attributes: List(attribute.Attribute(g, action)),
  head: Element,
  body: Element,
) -> Element
pub fn i(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn iframe(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn img(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn input(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn ins(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn kbd(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn label(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn legend(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn li(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn main(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn map_(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn mark(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn mathml(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn menu(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn meta(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn meter(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn nav(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn node(
  tag: String,
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn noscript(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn object(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn ol(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn optgroup(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn option(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn output(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn p(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn param(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn picture(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn portal(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn pre(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn progress(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn rp(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn rt(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn ruby(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn s(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn samp(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn section(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn select(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn slot(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn small(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn source(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn span(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn strong(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn style(
  attributes: List(attribute.Attribute(g, action)),
  css: String,
) -> Element
pub fn sub(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn summary(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn sup(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn svg(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn table(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn tbody(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn td(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn template(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn text(content: String) -> Element

Render a Gleam string as an HTML text node.

pub fn textarea(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
pub fn tfoot(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn th(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn thead(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn time(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn title(
  attributes: List(attribute.Attribute(g, action)),
  name: String,
) -> Element
pub fn tr(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn track(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn u(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn ul(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn var_(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn video(
  attributes: List(attribute.Attribute(g, action)),
  children: List(Element),
) -> Element
pub fn wbr(
  attributes: List(attribute.Attribute(g, action)),
) -> Element
Search Document