Results for “Std.Html.html”
67 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Html.Html
A page, as a value.
- Std.Html.html
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlThe root element, with attributes and children.
- Std.Html.Bounded.render
&Std.Html.Html -> Int -> Result[Std.Html.Bounded.Rendered, Std.Html.Bounded.RenderError]Render a complete view while refusing the first output byte beyond the limit.
- Std.Html.Build.html
&Std.Html.Build.Node -> Std.Html.HtmlA node with no tag name renders as its children alone, with no element
- Std.Html.Build.html
&Self -> Std.Html.HtmlThe view this node describes.
- Std.Html.Compose.document
Str -> Std.Html.Compose.Content -> Std.Html.HtmlA whole page with the given title and body.
- Std.Html.Compose.documentIn
Str -> Str -> Std.Html.Compose.Content -> Std.Html.HtmlA whole page, declaring the language it is written in.
- Std.Html.Ssr.beginIncremental
&Std.Html.Ssr.EncodedPlan -> &Map[Str, fn() -> Result[Std.Html.Html, Str]] -> Int -> Result[Std.Html.Ssr.IncrementalCursor, Std.Html.Ssr.IncrementalError]Begins bounded pull delivery without invoking a dynamic producer.
- Std.Html.Ssr.byteSegments
&Std.Html.Ssr.EncodedPlan -> &Map[Str, Std.Html.Html] -> Result[Std.Html.Ssr.EncodedSegments, Std.Html.Buffer.AssembleError]Render each used slot once and retain segmented encoded output with its exact length.
- Std.Html.Ssr.chunks
&Std.Html.Ssr.Plan -> &Map[Str, Std.Html.Html] -> Result[Array[Str], Std.Html.Ssr.RenderError]The page as its pieces, in order, so a caller may write them as they come.
- Std.Html.Ssr.document
&Std.Html.Html -> Std.Html.Ssr.RenderedA whole view rendered with its length, without a plan.
- Std.Html.Ssr.finish
&Std.Html.Ssr.Plan -> &Map[Str, Std.Html.Html] -> Result[Std.Html.Ssr.Rendered, Std.Html.Ssr.RenderError]The page with its length in bytes, which is what a response header needs.
- Std.Html.Ssr.finishBytes
&Std.Html.Ssr.EncodedPlan -> &Map[Str, Std.Html.Html] -> Result[Std.Html.Ssr.EncodedResponse, Std.Html.Buffer.AssembleError]Render encoded output into one exact-size checked byte buffer.
- Std.Html.Ssr.fragment
&Std.Html.Html -> Std.Html.Ssr.RenderedA view rendered with its length, without a plan.
- Std.Html.Ssr.render
&Std.Html.Ssr.Plan -> &Map[Str, Std.Html.Html] -> Result[Str, Std.Html.Ssr.RenderError]The page as one piece of text.
- Std.Html.Ssr.renderWithin
&Std.Html.Ssr.Plan -> &Map[Str, Std.Html.Html] -> Int -> Result[Std.Html.Ssr.Rendered, Std.Html.Ssr.RenderError]The page, refused if it would exceed the given number of bytes.
- Std.Html.Stream.defer
Str -> &Std.Html.Html -> fn() -> Result[Std.Html.Html, Str] -> Result[Std.Html.Stream.Deferred, Std.Html.Stream.BoundaryError]Prepares only a typed fallback; the content producer remains uncalled.
- Std.Html.Stream.errorReplacement
Str -> &Std.Html.Html -> Result[Bytes, Std.Html.Stream.BoundaryError]A typed error fallback for a validated suspense boundary.
- Std.Html.Stream.placeholder
Str -> &Std.Html.Html -> Result[Bytes, Std.Html.Stream.BoundaryError]A typed fallback inside a validated suspense boundary.
- Std.Html.Stream.replacement
Str -> &Std.Html.Html -> Result[Bytes, Std.Html.Stream.BoundaryError]Typed resolved content for a validated suspense boundary.
- Std.Html.Stream.suspended
Str -> &Std.Html.Html -> &Std.Html.Html -> Result[(Bytes, Bytes), Std.Html.Stream.BoundaryError]The initial and resolved chunks for one validated typed boundary.
- Std.Html.anchor
&Std.Html.Destination -> &Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA link to a destination, with attributes and children.
- Std.Html.body
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlThe rendered section, with attributes and children.
- Std.Html.button
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA button, with attributes and children.
- Std.Html.cell
Bool -> &Array[Std.Html.Html] -> Std.Html.HtmlOne table cell. A header cell when the first argument holds.
- Std.Html.div
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA grouping with no meaning of its own.
- Std.Html.document
&Std.Html.Html -> StrA whole document, with the declaration that says which one it is.
- Std.Html.each
&Array[T] -> fn(T) -> Std.Html.Html -> Std.Html.HtmlA view for each item of a list.
- Std.Html.element
Str -> &Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlAn element with a name, attributes, and children.
- Std.Html.empty
Str -> &Array[(Str, Str)] -> Std.Html.HtmlAn element with attributes and nothing inside it.
- Std.Html.form
&Std.Html.Destination -> Str -> &Array[Std.Html.Html] -> Std.Html.HtmlA form posting to a destination by the given method.
- Std.Html.fragment
&Array[Std.Html.Html] -> Std.Html.HtmlSeveral views with no element around them.
- Std.Html.head
&Array[Std.Html.Html] -> Std.Html.HtmlThe metadata section, holding the given children.
- Std.Html.heading
Int -> &Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA heading of the given level, from 1 to 6.
- Std.Html.image
&Std.Html.Destination -> Str -> &Array[(Str, Str)] -> Std.Html.HtmlAn image from a destination, with the description screen readers read.
- Std.Html.input
&Array[(Str, Str)] -> Std.Html.HtmlA form control, from its attributes alone.
- Std.Html.link
&Array[(Str, Str)] -> Std.Html.HtmlA relationship to another resource, from its attributes alone.
- Std.Html.list
Bool -> &Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA list. Ordered when the first argument holds, unordered when it does not.
- Std.Html.meta
&Array[(Str, Str)] -> Std.Html.HtmlA metadata element, from its attributes alone.
- Std.Html.nothing
Std.Html.HtmlNothing, for a branch that renders no view.
- Std.Html.paragraph
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA paragraph, with attributes and children.
- Std.Html.render
&Std.Html.Html -> StrA view as markup.
- Std.Html.renderChunks
&Std.Html.Html -> Array[Str]Buffered output fragments, in document order, without joining child subtrees.
- Std.Html.row
&Array[Std.Html.Html] -> Std.Html.HtmlOne table row, holding the given cells.
- Std.Html.span
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA run of inline content with no meaning of its own.
- Std.Html.table
&Array[(Str, Str)] -> &Array[Std.Html.Html] -> Std.Html.HtmlA table, with attributes and children.
- Std.Html.tag
Str -> &Array[Std.Html.Html] -> Std.Html.HtmlAn element with children and no attributes, which most elements are.
- Std.Html.text
Str -> Std.Html.HtmlText, which is text: whatever it holds, it renders as that and not as
- Std.Html.title
Str -> Std.Html.HtmlThe document title, from its text.
- Std.Html.trusted
Str -> Std.Html.HtmlMarkup the caller has taken responsibility for.
- Std.Html.when
Bool -> Std.Html.Html -> Std.Html.HtmlOne view or the other, for a branch that renders either.
- Std.Html.whenBuilt
Bool -> fn() -> Std.Html.Html -> Std.Html.HtmlBuild one view only when its condition holds.
- Std.Http.Server.Reply.page
Int -> Std.Html.Html -> Std.Http.ResponseRender a complete HTML document, including its doctype.
- Std.Http.Server.Reply.view
Int -> Std.Html.Html -> Std.Http.ResponseRender a typed fragment using the standard HTML escaping rules.
- Std.Ui.Island.island
Str -> Str -> Std.Html.Html -> Std.Html.HtmlWrap server-rendered content as an island, hydrated on arrival.
- Std.Ui.Island.islandWithHydration
Str -> Str -> Std.Html.Html -> Std.Ui.Island.Hydration -> Std.Html.HtmlWrap server-rendered content as an island, hydrated as the mode says.
- Std.Ui.Island.microRuntime
Str -> Std.Html.HtmlThe script that mounts islands, allowed by the given nonce.
- Std.Ui.Island.serverActionForm
Str -> Str -> &Array[Std.Html.Html] -> Std.Html.HtmlBuilds an accessible HTML form with automatic CSRF token protection.
- Std.Ui.Live.shownBy
&Std.Ui.Live.Session[S, E] -> Std.Html.HtmlWhat the session currently believes is on the viewer's screen.
- Std.Ui.applied
&Std.Html.Html -> &Array[Std.Ui.Change] -> Std.Html.HtmlA screen with the changes applied.
- Std.Ui.changes
&Std.Html.Html -> &Std.Html.Html -> Array[Std.Ui.Change]The changes that turn one screen into the other.
- Std.Ui.component
S -> fn(S) -> Std.Html.Html -> fn(S, E) -> S -> Std.Ui.Component[S, E]A component from its three parts.
- Std.Ui.nodeAt
&Std.Html.Html -> &Std.Ui.Path -> Option[Std.Html.Html]Where the node a path names is, as the node itself.
- Std.Ui.render
&Std.Ui.Component[S, E] -> Std.Html.HtmlWhat the component currently shows.
- Std.Ui.showing
S -> fn(S) -> Std.Html.Html -> Std.Ui.Component[S, ()]A component that shows something and answers nothing, for a screen that is
- Std.Ui.unchanged
&Std.Html.Html -> &Std.Html.Html -> BoolWhether two screens are the same, which is the question a sender asks
- Std.Ui.within
&Std.Ui.Component[S, E] -> fn(Std.Html.Html) -> Std.Html.Html -> Std.Ui.Component[S, E]A component whose view is wrapped in another, so a screen is made of
