lustre/element/html

To read the full documentation for this module, please visit https://pkg.hayleigh.dev/lustre/api/lustre/element/html

Functions

pub fn a(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn abbr(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn address(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn area(attrs: List(Attribute(a))) -> Element(a)
pub fn article(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn aside(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn audio(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn b(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn base(attrs: List(Attribute(a))) -> Element(a)
pub fn bdi(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn bdo(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn blockquote(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn body(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn br(attrs: List(Attribute(a))) -> Element(a)
pub fn button(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn canvas(attrs: List(Attribute(a))) -> Element(a)
pub fn caption(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn cite(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn code(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn col(attrs: List(Attribute(a))) -> Element(a)
pub fn colgroup(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn data(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn datalist(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn dd(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn del(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn details(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn dfn(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn dialog(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn div(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn dl(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn dt(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn em(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn embed(attrs: List(Attribute(a))) -> Element(a)
pub fn fieldset(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn figcaption(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn figure(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn footer(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn form(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn h1(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn h2(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn h3(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn h4(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn h5(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn h6(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn head(attrs: List(Attribute(a))) -> Element(a)
pub fn header(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn hgroup(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn hr(attrs: List(Attribute(a))) -> Element(a)
pub fn html(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn i(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn iframe(attrs: List(Attribute(a))) -> Element(a)
pub fn img(attrs: List(Attribute(a))) -> Element(a)
pub fn input(attrs: List(Attribute(a))) -> Element(a)
pub fn ins(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn kbd(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn label(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn legend(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn li(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn link(attrs: List(Attribute(a))) -> Element(a)
pub fn main(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn map(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)

Used with elements to define an image map (a clickable link area).

pub fn mark(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn math(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn menu(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn meta(attrs: List(Attribute(a))) -> Element(a)
pub fn meter(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn nav(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn noscript(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn object(attrs: List(Attribute(a))) -> Element(a)
pub fn ol(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn optgroup(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn option(attrs: List(Attribute(a))) -> Element(a)
pub fn output(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn p(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn picture(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn portal(attrs: List(Attribute(a))) -> Element(a)
pub fn pre(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn progress(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn q(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn rp(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn rt(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn ruby(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn s(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn samp(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn script(attrs: List(Attribute(a)), js: String) -> Element(a)
pub fn search(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn section(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn select(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn slot(attrs: List(Attribute(a))) -> Element(a)
pub fn small(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn source(attrs: List(Attribute(a))) -> Element(a)
pub fn span(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn strong(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn style(attrs: List(Attribute(a)), css: String) -> Element(a)
pub fn sub(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn summary(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn sup(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn svg(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn table(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn tbody(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn td(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn template(attrs: List(Attribute(a)), children: List(
    Element(a),
  )) -> Element(a)
pub fn textarea(attrs: List(Attribute(a))) -> Element(a)
pub fn tfoot(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn th(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn thead(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn time(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn title(attrs: List(Attribute(a)), content: String) -> Element(
  a,
)
pub fn tr(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn track(attrs: List(Attribute(a))) -> Element(a)
pub fn u(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn ul(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn var(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn video(attrs: List(Attribute(a)), children: List(Element(a))) -> Element(
  a,
)
pub fn wbr(attrs: List(Attribute(a))) -> Element(a)
Search Document