Axon 911 Frontend DocsAxon 911 Frontend Docs
Axon 911 Frontend Docs
    Loading navigation…
U
User
Switch to light mode
  1. Blocks
  2. Control Island
  3. API and Development

ControlIsland API

View SourceOpens in a new tabSubmit IssueOpens in a new tab
Import ControlIsland, ControlIslandRole, and ControlIslandStatus from @prepared911/ui/blocks/control-island.
PropTypeDefault
labelLocalizedMessagerequired
rolesreadonly ControlIslandRoleItem[]required
roleControlIslandRole—
defaultRoleControlIslandRolefirst role
onRoleChange(role, details) => void—
raiseHandIconGlyphrequired
raisedHandIconGlyphraiseHandIcon
raiseHandLabelLocalizedMessagerequired
raisedHandboolean—
defaultRaisedHandbooleanfalse
onRaisedHandChange(raised, details) => void—
availabilityControlIslandAvailability—
sizeButtonSizeMedium
classNamestring—
idstring—
refRef<HTMLDivElement>—
ControlIslandRole: Supervisor, Calltaker, Dispatcher. ref, id, and className land on the host around the Expanding ButtonGroup.
Previous
Control Island / Accessibility
Next
Control Island / ControlIsland usage