Line

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

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

the Inspector Change tab acts on the unit the currently open file already is.

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

Type Aliases#

UnitLocation#

UnitLocation = object

Defined in: ui/client/features/pages-editor/domain/UnitPath.ts:6

Properties#

feature

feature: string

Defined in: ui/client/features/pages-editor/domain/UnitPath.ts:6

layer

layer: "page"

Defined in: ui/client/features/pages-editor/domain/UnitPath.ts:6

name

name: string

Defined in: ui/client/features/pages-editor/domain/UnitPath.ts:6

Functions#

parseUnitPath()#

parseUnitPath(feature, file): UnitLocation | null

Defined in: ui/client/features/pages-editor/domain/UnitPath.ts:9

null when there is no feature/file yet to act on (nothing open).

Parameters#

feature

string

file

string

Returns#

UnitLocation | null