Motion, passcode, camera and helpers
PushStack and PushPage
The page push of Taunus: the new page slides in, the old one moves back.
stack := PushStack {
open: Backend.sub-page;
PushPage { t: stack.t; width: stack.width; height: stack.height; MainPage { } }
PushPage { t: stack.t; top: true; width: stack.width; height: stack.height; SubPage { } }
}
The top page takes the focus when it opens; when it closes, the focus returns to where it was below.
Hero
Flies an icon from one place to another (an app tile into its window). Shell use.
PasscodePrompt, Keypad, PinDots
The passcode screen of the lock screen, App lock and Settings: title, text, error, length, filled,
wrong (shake), blocked, cancel-text, confirm, confirm-enabled; digit(int), back(), cancel(),
confirmed(). Digits on a keyboard work too. Never check a passcode yourself: ask the shell for a proof
(Passcode proof).
CameraView
Shows the camera: frame (image), state (CameraState), message, fit, radius. Feed it from
taunus-camera.
Spinner, Chip
Spinner { color; } — a busy indicator. Chip { text; color; } — a small label.
DoubleTap
DoubleTap { within; slop; double-tapped => … }: a double tap (inert on TV).
Gesture
Gesture.held is true while a finger is down anywhere: pause updates that would move content under it.
Focus helpers
Focus (global): visible, step(FocusDir), settle(), enter(FocusDir). FocusRing draws the focus of a
custom control. FocusTrap, FocusGroup, FocusPane are the container markers as components
(Keys and form factors).