Line

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

ui/client/features/pages-editor/services/OpenPageUrl

Cockpit client (features), v0.8. Source: ui/client/features/pages-editor/services/OpenPageUrl.ts.

Functions#

writeOpenPageUrl()#

writeOpenPageUrl(target): void

Defined in: ui/client/features/pages-editor/services/OpenPageUrl.ts:5

Keeps the open page in the URL (?feature=&file=) so a reload or a shared link opens the same page; null clears it. replaceState: no new history entry and no navigation.

Parameters#

target

OpenPageTarget | null

Returns#

void