userSettings
Description
Override default panel/overlay/user behavior with custom user specific preferences.
Type
assocArray
Usage
m.lib.userSettings = {
betPanel: {
hide_panel: false,
hide_wagers: true,
disable_overlays: false
}
}
Available Settings
Panel Settings
| Setting | Type | Description |
|---|---|---|
hide_panel | boolean | Show or hide the specified panel |
hide_wagers | boolean | Show or hide wagers within the panel |
disable_overlays | boolean | Enable or disable overlays for the panel |
Best Practices
- Store user preferences persistently using Roku's registry
- Update settings dynamically based on user choices
- Validate settings before applying them
See also: User Settings Guide