Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/processes/hooks/useProcessAnnouncer

Cockpit client (features), next. Source: ui/client/features/processes/hooks/useProcessAnnouncer.tsx.

Functions#

useProcessAnnouncer()#

useProcessAnnouncer(summaries): string

Defined in: ui/client/features/processes/hooks/useProcessAnnouncer.tsx:9

The sentence for the bottom panel's live region: a process finishing, failing or being cancelled is announced even while you are looking at a different tab, or a different screen.

Parameters#

summaries

ProcessSummary[]

Returns#

string