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
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
step
Returns#
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.