blocks/app-bar
@fungi.computer/caps / blocks/app-bar
blocks/app-bar
Section titled “blocks/app-bar”Type Aliases
Section titled “Type Aliases”AppBarItem
Section titled “AppBarItem”AppBarItem =
object
A caller-owned running App window or available App launcher.
Properties
Section titled “Properties”id:
string
label:
string
optionalicon?:ReactNode
active?
Section titled “active?”
optionalactive?:boolean
onSelect
Section titled “onSelect”onSelect: () =>
void
Request focusing a running window or opening an available App.
Returns
Section titled “Returns”void
onClose?
Section titled “onClose?”
optionalonClose?: () =>void
Request closing; the caller owns disposal and removal.
Returns
Section titled “Returns”void
AppBarProps
Section titled “AppBarProps”AppBarProps =
object
Caller-owned apps and actions; AppBar owns only presentation and disclosure.
Properties
Section titled “Properties”windows
Section titled “windows”windows: readonly
AppBarItem[]
launchers
Section titled “launchers”launchers: readonly
AppBarItem[]
Team Apps available to launch from the speed dial.
sessions?
Section titled “sessions?”
optionalsessions?: readonlyAppBarItem[]
Recent Sessions supplied by the shell’s session owner.
alwaysExpanded?
Section titled “alwaysExpanded?”
optionalalwaysExpanded?:boolean
isOpen?
Section titled “isOpen?”
optionalisOpen?:boolean
Control the compact App dial from the surrounding shell.
onOpenChange?
Section titled “onOpenChange?”
optionalonOpenChange?: (open) =>void
Report requests to open or dismiss the compact App dial.
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”void
emptyLabel?
Section titled “emptyLabel?”
optionalemptyLabel?:ReactNode
launcher
Section titled “launcher”launcher:
object
label:
string
optionalicon?:ReactNode
primaryAction?
Section titled “primaryAction?”
optionalprimaryAction?:object
A primary action revealed above the launcher, such as starting a chat.
label:
string
icon:
ReactNode
onSelect
Section titled “onSelect”onSelect: () =>
void
Invoke the caller-owned primary action.
Returns
Section titled “Returns”void
Functions
Section titled “Functions”AppBar()
Section titled “AppBar()”AppBar(
__namedParameters):Element
An anchored launcher between persistent running apps and a spring-out app tray.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”Returns
Section titled “Returns”Element