Settings
OS.js Settings Manager
Constructor Summary
Public Constructor | ||
public |
constructor(core: Core, options: SettingsOptions) Create application |
Member Summary
Public Members | ||
public |
The settings adapter |
|
public |
Core instance reference |
|
public |
Internal timeout reference used for debouncing |
|
public |
settings: {name: *} The settings tree |
Method Summary
Public Methods | ||
public |
Clears a namespace by root key |
|
public |
Gets a settings entry by key (cached) |
|
public |
init(): * Initializes settings adapter |
|
public |
Loads settings |
|
public |
Saves settings |
|
public |
Sets a settings entry by root key (but does not save). |
Public Constructors
public constructor(core: Core, options: SettingsOptions) source
Create application
Params:
Name | Type | Attribute | Description |
core | Core | Core reference |
|
options | SettingsOptions | Options |