htmz

Types

pub type Attr {
  Attr(name: String, value: String)
}

Constructors

  • Attr(name: String, value: String)
pub type Htmz {
  El(tag: String, attrs: List(Attr), children: List(Htmz))
  Z(css_selector: String)
  Text(text: String)
  Nothing
  Html
  Head
  Title
  Body
  Div
  Form
  Label
  Input
  A
  Link
  Meta
  Abbr
  Address
  Article
  Aside
  Audio
  B
  Bdi
  Bdo
  Blockquote
  Br
  Button
  Canvas
  Caption
  Cite
  Code
  Col
  Colgroup
  Data
  Datalist
  Dd
  Del
  Details
  Dfn
  Dialog
  Dl
  Dt
  Em
  Embed
  Fieldset
  Figcaption
  Figure
  Footer
  H1
  H2
  H3
  H4
  H5
  H6
  Header
  Hr
  I
  Iframe
  Img
  Ins
  Kbd
  Legend
  Li
  Main
  Mark
  Menu
  Menuitem
  Meter
  Nav
  Noscript
  Object
  Ol
  Optgroup
  Option
  Output
  P
  Param
  Picture
  Pre
  Progress
  Q
  Rp
  Rt
  Ruby
  S
  Samp
  Script
  Section
  Select
  Slot
  Small
  Source
  Span
  Strong
  Sub
  Summary
  Sup
  Table
  Tbody
  Td
  Template
  Textarea
  Tfoot
  Th
  Thead
  Time
  Tr
  Track
  U
  Ul
  Var
  Video
  Wbr
}

Constructors

  • El(tag: String, attrs: List(Attr), children: List(Htmz))
  • Z(css_selector: String)
  • Text(text: String)
  • Nothing
  • Html
  • Head
  • Title
  • Body
  • Div
  • Form
  • Label
  • Input
  • A
  • Link
  • Meta
  • Abbr
  • Address
  • Article
  • Aside
  • Audio
  • B
  • Bdi
  • Bdo
  • Blockquote
  • Br
  • Button
  • Canvas
  • Caption
  • Cite
  • Code
  • Col
  • Colgroup
  • Data
  • Datalist
  • Dd
  • Del
  • Details
  • Dfn
  • Dialog
  • Dl
  • Dt
  • Em
  • Embed
  • Fieldset
  • Figcaption
  • Figure
  • Footer
  • H1
  • H2
  • H3
  • H4
  • H5
  • H6
  • Header
  • Hr
  • I
  • Iframe
  • Img
  • Ins
  • Kbd
  • Legend
  • Li
  • Main
  • Mark
  • Menu
  • Menuitem
  • Meter
  • Nav
  • Noscript
  • Object
  • Ol
  • Optgroup
  • Option
  • Output
  • P
  • Param
  • Picture
  • Pre
  • Progress
  • Q
  • Rp
  • Rt
  • Ruby
  • S
  • Samp
  • Script
  • Section
  • Select
  • Slot
  • Small
  • Source
  • Span
  • Strong
  • Sub
  • Summary
  • Sup
  • Table
  • Tbody
  • Td
  • Template
  • Textarea
  • Tfoot
  • Th
  • Thead
  • Time
  • Tr
  • Track
  • U
  • Ul
  • Var
  • Video
  • Wbr

Functions

pub fn accept(el: Htmz, value: String) -> Htmz
pub fn accept_charset(el: Htmz, value: String) -> Htmz
pub fn accesskey(el: Htmz, value: String) -> Htmz
pub fn action(el: Htmz, value: String) -> Htmz
pub fn alt(el: Htmz, value: String) -> Htmz
pub fn async_attr(el: Htmz, value: String) -> Htmz
pub fn attr(
  el: Htmz,
  attr_name: String,
  attr_value: String,
) -> Htmz
pub fn autocapitalize(el: Htmz, value: String) -> Htmz
pub fn autocomplete(el: Htmz, value: String) -> Htmz
pub fn autofocus(el: Htmz, value: String) -> Htmz
pub fn charset(el: Htmz, value: String) -> Htmz
pub fn checked(el: Htmz, value: String) -> Htmz
pub fn child(el: Htmz, child: Htmz) -> Htmz
pub fn children(el: Htmz, children: List(Htmz)) -> Htmz
pub fn class(el: Htmz, value: String) -> Htmz
pub fn cols(el: Htmz, value: String) -> Htmz
pub fn colspan(el: Htmz, value: String) -> Htmz
pub fn columngap(el: Htmz, value: String) -> Htmz
pub fn content(el: Htmz, value: String) -> Htmz
pub fn contenteditable(el: Htmz, value: String) -> Htmz
pub fn contextmenu(el: Htmz, value: String) -> Htmz
pub fn controls(el: Htmz, value: String) -> Htmz
pub fn coords(el: Htmz, value: String) -> Htmz
pub fn crossorigin(el: Htmz, value: String) -> Htmz
pub fn data(el: Htmz, key: String, value: String) -> Htmz
pub fn datetime(el: Htmz, value: String) -> Htmz
pub fn defer(el: Htmz) -> Htmz
pub fn dir(el: Htmz, value: String) -> Htmz
pub fn dirname(el: Htmz, value: String) -> Htmz
pub fn disabled(el: Htmz) -> Htmz
pub fn download(el: Htmz, value: String) -> Htmz
pub fn draggable(el: Htmz, value: String) -> Htmz
pub fn dropzone(el: Htmz, value: String) -> Htmz
pub fn enctype(el: Htmz, value: String) -> Htmz
pub fn enterkeyhint(el: Htmz, value: String) -> Htmz
pub fn escape(content: String) -> String
pub fn for(el: Htmz, value: String) -> Htmz
pub fn formaction(el: Htmz, value: String) -> Htmz
pub fn formenctype(el: Htmz, value: String) -> Htmz
pub fn formmethod(el: Htmz, value: String) -> Htmz
pub fn formnovalidate(el: Htmz, value: String) -> Htmz
pub fn formtarget(el: Htmz, value: String) -> Htmz
pub fn frameborder(el: Htmz, value: String) -> Htmz
pub fn headers(el: Htmz, value: String) -> Htmz
pub fn height(el: Htmz, value: String) -> Htmz
pub fn hidden(el: Htmz, value: String) -> Htmz
pub fn high(el: Htmz, value: String) -> Htmz
pub fn href(el: Htmz, value: String) -> Htmz
pub fn hreflang(el: Htmz, value: String) -> Htmz
pub fn http_equiv(el: Htmz, value: String) -> Htmz
pub fn hx_boost(el: Htmz, value: String) -> Htmz
pub fn hx_confirm(el: Htmz, value: String) -> Htmz
pub fn hx_delete(el: Htmz, value: String) -> Htmz
pub fn hx_disabled_elt(el: Htmz, value: String) -> Htmz
pub fn hx_disinherit(el: Htmz, value: String) -> Htmz
pub fn hx_encoding(el: Htmz, value: String) -> Htmz
pub fn hx_ext(el: Htmz, value: String) -> Htmz
pub fn hx_get(el: Htmz, value: String) -> Htmz
pub fn hx_headers(el: Htmz, value: String) -> Htmz
pub fn hx_history(el: Htmz, value: String) -> Htmz
pub fn hx_history_elt(el: Htmz, value: String) -> Htmz
pub fn hx_include(el: Htmz, value: String) -> Htmz
pub fn hx_indicator(el: Htmz, value: String) -> Htmz
pub fn hx_on(el: Htmz, event: String, value: String) -> Htmz
pub fn hx_params(el: Htmz, value: String) -> Htmz
pub fn hx_patch(el: Htmz, value: String) -> Htmz
pub fn hx_post(el: Htmz, value: String) -> Htmz
pub fn hx_push_url(el: Htmz, value: String) -> Htmz
pub fn hx_put(el: Htmz, value: String) -> Htmz
pub fn hx_select(el: Htmz, value: String) -> Htmz
pub fn hx_select_oob(el: Htmz, value: String) -> Htmz
pub fn hx_swap(el: Htmz, value: String) -> Htmz
pub fn hx_swap_oob(el: Htmz, value: String) -> Htmz
pub fn hx_sync(el: Htmz, value: String) -> Htmz
pub fn hx_target(el: Htmz, value: String) -> Htmz
pub fn hx_trigger(el: Htmz, value: String) -> Htmz
pub fn hx_vals(el: Htmz, value: String) -> Htmz
pub fn id(el: Htmz, value: String) -> Htmz
pub fn inputmode(el: Htmz, value: String) -> Htmz
pub fn integrity(el: Htmz, value: String) -> Htmz
pub fn is(el: Htmz, value: String) -> Htmz
pub fn ismap(el: Htmz, value: String) -> Htmz
pub fn kind(el: Htmz, value: String) -> Htmz
pub fn label(el: Htmz, value: String) -> Htmz
pub fn lang(el: Htmz, value: String) -> Htmz
pub fn language(el: Htmz, value: String) -> Htmz
pub fn list(el: Htmz, value: String) -> Htmz
pub fn loop_attr(el: Htmz, value: String) -> Htmz
pub fn low(el: Htmz, value: String) -> Htmz
pub fn max(el: Htmz, value: String) -> Htmz
pub fn maxlength(el: Htmz, value: String) -> Htmz
pub fn method(el: Htmz, value: String) -> Htmz
pub fn min(el: Htmz, value: String) -> Htmz
pub fn minlength(el: Htmz, value: String) -> Htmz
pub fn multiple(el: Htmz, value: String) -> Htmz
pub fn name(el: Htmz, value: String) -> Htmz
pub fn nothing(el: Htmz) -> Htmz
pub fn novalidate(el: Htmz, value: String) -> Htmz
pub fn on(el: Htmz, event: String, value: String) -> Htmz
pub fn open(el: Htmz, value: String) -> Htmz
pub fn pattern(el: Htmz, value: String) -> Htmz
pub fn placeholder(el: Htmz, value: String) -> Htmz
pub fn poster(el: Htmz, value: String) -> Htmz
pub fn preload(el: Htmz, value: String) -> Htmz
pub fn readonly(el: Htmz, value: String) -> Htmz
pub fn rel(el: Htmz, value: String) -> Htmz
pub fn remove_attr(el: Htmz, attr_name: String) -> Htmz
pub fn required(el: Htmz) -> Htmz
pub fn reversed(el: Htmz, value: String) -> Htmz
pub fn rows(el: Htmz, value: String) -> Htmz
pub fn rowspan(el: Htmz, value: String) -> Htmz
pub fn sandbox(el: Htmz, value: String) -> Htmz
pub fn scope(el: Htmz, value: String) -> Htmz
pub fn selected(el: Htmz) -> Htmz
pub fn shape(el: Htmz, value: String) -> Htmz
pub fn size(el: Htmz, value: String) -> Htmz
pub fn sizes(el: Htmz, value: String) -> Htmz
pub fn slot(el: Htmz, value: String) -> Htmz
pub fn spellcheck(el: Htmz, value: String) -> Htmz
pub fn src(el: Htmz, value: String) -> Htmz
pub fn srcdoc(el: Htmz, value: String) -> Htmz
pub fn srclang(el: Htmz, value: String) -> Htmz
pub fn start(el: Htmz, value: String) -> Htmz
pub fn step(el: Htmz, value: String) -> Htmz
pub fn style(el: Htmz, value: String) -> Htmz
pub fn tabindex(el: Htmz, value: String) -> Htmz
pub fn target(el: Htmz, value: String) -> Htmz
pub fn text(el: Htmz, text: String) -> Htmz
pub fn title(el: Htmz, value: String) -> Htmz
pub fn to_string(el: Htmz) -> String
pub fn translate(el: Htmz, value: String) -> Htmz
pub fn type_(el: Htmz, value: String) -> Htmz
pub fn usemap(el: Htmz, value: String) -> Htmz
pub fn value(el: Htmz, value: String) -> Htmz
pub fn width(el: Htmz, value: String) -> Htmz
pub fn wrap(el: Htmz, value: String) -> Htmz
pub fn x_bind(el: Htmz, field: String, value: String) -> Htmz
pub fn x_cloak(el: Htmz, value: String) -> Htmz
pub fn x_data(el: Htmz, value: String) -> Htmz
pub fn x_effect(el: Htmz, value: String) -> Htmz
pub fn x_for(el: Htmz, value: String) -> Htmz
pub fn x_html(el: Htmz, value: String) -> Htmz
pub fn x_id(el: Htmz, value: String) -> Htmz
pub fn x_if(el: Htmz, value: String) -> Htmz
pub fn x_ignore(el: Htmz, value: String) -> Htmz
pub fn x_init(el: Htmz, value: String) -> Htmz
pub fn x_model(el: Htmz, value: String) -> Htmz
pub fn x_modelable(el: Htmz, value: String) -> Htmz
pub fn x_on(el: Htmz, event: String, value: String) -> Htmz
pub fn x_ref(el: Htmz, value: String) -> Htmz
pub fn x_show(el: Htmz, value: String) -> Htmz
pub fn x_teleport(el: Htmz, value: String) -> Htmz
pub fn x_text(el: Htmz, value: String) -> Htmz
pub fn x_transition(el: Htmz) -> Htmz
pub fn x_transition_a(
  el: Htmz,
  modifier: String,
  value: String,
) -> Htmz
Search Document