Std.Html
45 public declarations
- anchor
&Std.Html.Destination -> &Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA link to a destination, with attributes and children.
- attribute
Str -> Str -> Result[(Str, Str), Std.Html.Unsafe]An attribute, checked.
- body
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlThe rendered section, with attributes and children.
- button
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA button, with attributes and children.
- cell
Bool -> &Array[Std.Html.Html] -> Std.Html.HtmlOne table cell. A header cell when the first argument holds.
- classes
&Array[Str] -> (Str, Str)The class attribute, from the classes rather than from their spelling, so a
- destination
Str -> Result[Std.Html.Destination, Std.Html.Unsafe]A destination, checked, or the reason it is refused.
- Destination
A destination an attribute may carry.
- destinationText
&Std.Html.Destination -> StrHow a destination is written.
- div
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA grouping with no meaning of its own.
- document
&Std.Html.Html -> StrA whole document, with the declaration that says which one it is.
- each
&Array[T] -> fn(T) -> Std.Html.Html -> Std.Html.HtmlA view for each item of a list.
- element
Str -> &Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlAn element with a name, attributes, and children.
- empty
Str -> &Array[(Str, Str)] -> Std.Html.HtmlAn element with attributes and nothing inside it.
- escape
Str -> StrText with the characters that would otherwise start markup written as
- explainUnsafe
&Std.Html.Unsafe -> StrWhat a refusal says.
- flag
Str -> (Str, Str)An attribute whose presence is its meaning, written as its own name.
- form
&Std.Html.Destination -> Str -> &Array[Std.Html.Html] -> Std.Html.HtmlA form posting to a destination by the given method.
- fragment
&Array[Std.Html.Html] -> Std.Html.HtmlSeveral views with no element around them.
- head
&Array[Std.Html.Html] -> Std.Html.HtmlThe metadata section, holding the given children.
- heading
Int -> &Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA heading of the given level, from 1 to 6.
- here
Str -> Result[Std.Html.Destination, Std.Html.Unsafe]A destination within this site, which names no scheme and so needs no
- html
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlThe root element, with attributes and children.
- Html
A page, as a value.
- image
&Std.Html.Destination -> Str -> &Array[(Str, Str)] -> Std.Html.HtmlAn image from a destination, with the description screen readers read.
- input
&Array[(Str, Str)] -> Std.Html.HtmlA form control, from its attributes alone.
- isHandler
Str -> BoolWhether an attribute name is one whose value would be a program.
- link
&Array[(Str, Str)] -> Std.Html.HtmlA relationship to another resource, from its attributes alone.
- list
Bool -> &Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA list. Ordered when the first argument holds, unordered when it does not.
- meta
&Array[(Str, Str)] -> Std.Html.HtmlA metadata element, from its attributes alone.
- nothing
Std.Html.HtmlNothing, for a branch that renders no view.
- paragraph
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA paragraph, with attributes and children.
- render
&Std.Html.Html -> StrA view as markup.
- renderChunks
&Std.Html.Html -> Array[Str]Buffered output fragments, in document order, without joining child subtrees.
- row
&Array[Std.Html.Html] -> Std.Html.HtmlOne table row, holding the given cells.
- span
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA run of inline content with no meaning of its own.
- style
&Array[(Str, Str)] -> (Str, Str)The style attribute, from its declarations.
- table
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA table, with attributes and children.
- tag
Str -> &Array[Std.Html.Html] -> Std.Html.HtmlAn element with children and no attributes, which most elements are.
- text
Str -> Std.Html.HtmlText, which is text: whatever it holds, it renders as that and not as
- title
Str -> Std.Html.HtmlThe document title, from its text.
- trusted
Str -> Std.Html.HtmlMarkup the caller has taken responsibility for.
- trustedDestination
Str -> Std.Html.DestinationA destination the caller has taken responsibility for.
- Unsafe
Why a destination or an attribute was refused.
- when
Bool -> Std.Html.Html -> Std.Html.HtmlOne view or the other, for a branch that renders either.
