Std.Ui
19 public declarations
- Answered
Where an event is answered.
- applied
&Std.Html.Html -> &Array[Std.Ui.Change] -> Std.Html.HtmlA screen with the changes applied.
- Change
One difference between two screens.
- changes
&Std.Html.Html -> &Std.Html.Html -> Array[Std.Ui.Change]The changes that turn one screen into the other.
- childOf
&Std.Ui.Path -> Int -> Std.Ui.PathThe path to a child of a node.
- component
S -> fn(S) -> Std.Html.Html -> fn(S, E) -> S -> Std.Ui.Component[S, E]A component from its three parts.
- Component
A screen: what is known, what that shows as, and how an event changes it.
- depthOf
&Std.Ui.Path -> IntHow deep a path reaches.
- given
&Std.Ui.Component[S, E] -> E -> Std.Ui.Component[S, E]The component after an event.
- givenAll
&Std.Ui.Component[S, E] -> &Array[E] -> Std.Ui.Component[S, E]The component after several events, in order.
- holding
&Std.Ui.Component[S, E] -> S -> Std.Ui.Component[S, E]The component with its state replaced, for a caller that learned the state
- nodeAt
&Std.Html.Html -> &Std.Ui.Path -> Option[Std.Html.Html]Where the node a path names is, as the node itself.
- Path
The path to a node: the indices that reach it from the root.
- render
&Std.Ui.Component[S, E] -> Std.Html.HtmlWhat the component currently shows.
- root
Std.Ui.PathThe path to the root.
- showing
S -> fn(S) -> Std.Html.Html -> Std.Ui.Component[S, ()]A component that shows something and answers nothing, for a screen that is
- stateOf
&Std.Ui.Component[S, E] -> SWhat the component currently knows.
- unchanged
&Std.Html.Html -> &Std.Html.Html -> BoolWhether two screens are the same, which is the question a sender asks
- 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
