Skip to main content

Module platform

Module platform 

Expand description

Semantic platform conventions for app-authored controls and shortcuts.

Apps describe intent (command + K, primary vs cancel); the host chooses the modifier label, event modifier, and dialog ordering for its platform.

Structs§

PlatformConventions
Host-selected conventions. Copyable so it can be propagated through a retained tree and overridden by deterministic tests or a native shell.
Shortcut
A semantic shortcut whose display and matching use platform conventions.

Enums§

DialogActionOrder
Visual order of a primary confirmation and its secondary/cancel action.
HostShortcut
A host service every app answers by shortcut, whichever chrome shows it.
Platform
Platform family relevant to human-interface conventions.