Line

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

ui/client/features/pages-editor/domain/TrailSteps

Cockpit client (features), next. Source: ui/client/features/pages-editor/domain/TrailSteps.ts.

Functions#

currentStep()#

currentStep(t): TrailStep | null

Defined in: ui/client/features/pages-editor/domain/TrailSteps.ts:12

Parameters#

t

Trail

Returns#

TrailStep | null


pushStep()#

pushStep(trail, step): Trail

Defined in: ui/client/features/pages-editor/domain/TrailSteps.ts:7

Follow a reference: the new step goes after the current one and everything after the current one is dropped.

Parameters#

trail

Trail

step

TrailStep

Returns#

Trail


refreshRoot()#

refreshRoot(trail, view): Trail

Defined in: ui/client/features/pages-editor/domain/TrailSteps.ts:15

Replace the first step's view (the page was re-read after an edit) and keep the rest of the trail.

Parameters#

trail

Trail

view

NavView

Returns#

Trail