Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/component-docs/workflows/ComponentEdit

Pure (WORKFLOW-001): the plain-file edit flow of the Components screen.

Cockpit client (features), v0.8. Source: ui/client/features/component-docs/workflows/ComponentEdit.ts.

Variables#

initialEditState#

const initialEditState: EditState

Defined in: ui/client/features/component-docs/workflows/ComponentEdit.ts:6

Functions#

editReducer()#

editReducer(state, action): EditState

Defined in: ui/client/features/component-docs/workflows/ComponentEdit.ts:10

Parameters#

state

EditState

action

EditAction

Returns#

EditState


isDirty()#

isDirty(s): boolean

Defined in: ui/client/features/component-docs/workflows/ComponentEdit.ts:8

Parameters#

s

EditState

Returns#

boolean