main/settings-page
Functions
Section titled “Functions”connectSettingsPage()
Section titled “connectSettingsPage()”connectSettingsPage(
router,settings,definitions,internal,startValues):Disposable
Defined in: app/src/main/settings-page.ts:43
Connects the settings page to the settings: it reads and writes every setting that has a place on the page, and hears about every change, wherever it came from.
Parameters
Section titled “Parameters”router
Section titled “router”IPC router.
settings
Section titled “settings”Loaded settings.
definitions
Section titled “definitions”readonly SettingDefinition<unknown>[]
All settings; those with ui metadata appear on the page.
internal
Section titled “internal”Session
Session of the browser’s own views, whose pages receive changes.
startValues
Section titled “startValues”ReadonlyMap<string, string>
The values, as JSON, that the settings which need a restart had when the browser started.
Returns
Section titled “Returns”A disposable that stops publishing changes.