Themes
4.1.2io.Connect Browser has two built-in themes - "Day" and "Night". You can control the themes programmatically by using the Themes API.
The Themes API is accessible via the io.themes object.
APIobject
Methods
getCurrentmethod
listmethod
onChangedmethod
selectmethod
Signature
(name: string) => Promise<void>
Description
Selects a new theme
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | The name of the theme |
Themeobject
Properties
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| displayName | string | |||
| name | string |