ui/client/features/processes/domain/ControlButtons
Pure (DOMAIN-001): the buttons a process shows, derived from the machine's own controls.
Cockpit client (features), v0.8. Source: ui/client/features/processes/domain/ControlButtons.ts.
Functions#
controlButtons()#
controlButtons(
controls):object[]
Defined in: ui/client/features/processes/domain/ControlButtons.ts:15
Buttons for exactly the events the machine offers, in a stable order. Never invents one.
Parameters#
controls
Returns#
object[]