Line

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

ui/client/features/flow-browser/domain/BrowserViewChoice

Cockpit client (features), next. Source: ui/client/features/flow-browser/domain/BrowserViewChoice.ts.

Functions#

browserViewKey()#

browserViewKey(projectDir): string

Defined in: ui/client/features/flow-browser/domain/BrowserViewChoice.ts:4

Storage key for one project's Browser view (null = project not known yet).

Parameters#

projectDir

string | null

Returns#

string


sanitizeBrowserView()#

sanitizeBrowserView(raw): BrowserView

Defined in: ui/client/features/flow-browser/domain/BrowserViewChoice.ts:7

Files is the default; anything unrecognised in storage falls back to it.

Parameters#

raw

unknown

Returns#

BrowserView