Std.Ui.Navigation
21 public declarations
- backButton
&Std.Ui.Navigation.Stack[P] -> &Std.Ui.Theme.Theme -> Std.Ui.Layout.ViewA back button tagged
back, shown only when the stack can go back. - canGoBack
&Std.Ui.Navigation.Stack[P] -> BoolWhether a back action has somewhere to go.
- choice
Str -> Str -> Std.Ui.Navigation.ChoiceAn ordinary choice.
- Choice
A choice in a modal: its tag, its title, and whether it destroys data.
- chose
&Std.Ui.Navigation.Tabs -> &Std.Ui.Screen.Event -> Std.Ui.Navigation.TabsThe tabs after
event: activating a tab's control, tagged - depth
&Std.Ui.Navigation.Stack[P] -> IntHow many pages are stacked, the root included.
- destructive
Str -> Str -> Std.Ui.Navigation.ChoiceA choice that destroys data, drawn in the danger color.
- navigated
&Std.Ui.Navigation.Stack[P] -> &Std.Ui.Screen.Event -> Std.Ui.Navigation.Stack[P]The stack after
event:backorDismissedpops. - pop
&Std.Ui.Navigation.Stack[P] -> Std.Ui.Navigation.Stack[P]The stack with its top page removed; the root is never removed.
- popToRoot
&Std.Ui.Navigation.Stack[P] -> Std.Ui.Navigation.Stack[P]The stack showing only its root.
- Presented
What is presented over the current view.
- presentedAfter
&Std.Ui.Navigation.Presented -> &Std.Ui.Screen.Event -> Std.Ui.Navigation.PresentedWhat is presented after
event: any choice in an alert or confirmation, - presenting
Std.Ui.Layout.View -> &Std.Ui.Navigation.Presented -> fn(Str) -> Std.Ui.Layout.View -> &Std.Ui.Theme.Theme -> Std.Ui.Layout.Viewbasewithcurrentdrawn over it: a dimmed scrim and a centered card. - push
&Std.Ui.Navigation.Stack[P] -> P -> Std.Ui.Navigation.Stack[P]The stack with
pageshown on top. - split
Std.Ui.Layout.View -> Std.Ui.Layout.View -> Int -> &Std.Ui.Theme.Theme -> Std.Ui.Layout.ViewA sidebar
sidebarWidthpixels wide besidedetail, divided by a - stack
P -> Std.Ui.Navigation.Stack[P]A stack showing only
root. - Stack
Std.Ui.Layout.Axis -> Std.Ui.Layout.KindPages pushed on top of a root page; the last is shown.
- tabbed
&Std.Ui.Navigation.Tabs -> Std.Ui.Layout.View -> &Std.Ui.Theme.Theme -> Std.Ui.Layout.ViewA tab bar above
content, the selected tab filled with the accent. - tabs
&Array[(Str, Str)] -> Std.Ui.Navigation.TabsTabs with the first selected; an empty list selects nothing.
- Tabs
Tabs by tag and title, one selected.
- top
&Std.Ui.Navigation.Stack[P] -> PThe page shown.
