Module sauron_core::html

source ·
Expand description

Provides functions and macros to build html elements

Re-exports

Modules

  • Create html attributes
  • provides functionalities and macro for building html elements
  • provides function and macro for html units such as px, %, em, etc.

Functions

  • Creates an html area element
  • Creates an html base element
  • Creates an html br element
  • Creates an html col element
  • Creates an html command element
  • create a comment node
  • create a doctype
  • create a virtual node with tag, attrs and children
  • create a virtual node with namespace, tag, attrs and children
  • Creates an html embed element
  • fragment is a list of nodes
  • Creates an html hr element
  • Creates an html element with the element tag name and namespace This is specifically used for creating svg element where a namespace is needed, otherwise the browser will not render it correctly.
  • Creates an html img element
  • Creates an html input element
  • Creates an html keygen element
  • Creates an html link element
  • Creates an html meta element
  • create a node which contains a list of nodes
  • Creates an html param element
  • Create an html and instruct the DOM renderer and/or DOM patcher that the operation is safe.
  • Creates an html source element
  • Create a text node element
  • Creates an html track element
  • A help function which render the view when the condition is met, otherwise just display a span(vec![], vec![])
  • Creates an html wbr element