panels/soft-keys
The soft keys a touch client types with: the held modifiers and the keys a phone keyboard lacks, the key palette with the user's own chords, the trackpad switch with its speed, and the button that pops the system's on-screen keyboard. Shown from the first touch the session sees; the layout decides where the bar sits. The palette opens toward the room there is, above the keys in a panel at the bottom of the screen and below them in a drawer that scrolls, and scrolls within what the viewport leaves, so its toggle and the keys stay in reach on a phone in either orientation.
Functions
Key()
function Key(__namedParameters): Element;Defined in: panels/soft-keys.tsx:26
A soft key: a mouse press leaves the stream's focus where it is.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | any |
Returns
Element
SoftKeys()
function SoftKeys(__namedParameters): Element;Defined in: panels/soft-keys.tsx:43
The modifier row and the palette, the trackpad controls beside them.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | SoftKeysProps |
Returns
Element