View as Markdown

API reference

@salmonui/navigation/toolbar

15 exported symbols: 5 functions, 4 interfaces, 5 types and 1 constant. Each name links its page with the signature, docs and members.

import { … } from '@salmonui/navigation/toolbar';

Functions

  • ToolbarAPG Toolbar: role="toolbar" with one tab stop (Tab enters on the last focused control, or the first), arrow keys by orientation (mirrored in RTL), Home / End.…
  • ToolbarGroupA run of items aligned to the start, center or end of the bar (.salmon-toolbar-group with data-align). Give it aria-label to expose it as a named role="group".
  • ToolbarItemA measured toolbar slot around any content (.salmon-toolbar-item). Direct children of Toolbar and ToolbarGroup that are not toolbar parts are wrapped in one au…
  • ToolbarSeparatorA visual and semantic separator between items (role="separator"); hidden when it would end up leading, trailing or doubled.
  • ToolbarSpacerFlexible space: items after it go to the end of the bar.

Interfaces

Types

Constants