mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-23 00:18:02 +00:00
147 lines
3.1 KiB
Markdown
147 lines
3.1 KiB
Markdown
|
|
|
|
# Hierarchy
|
|
|
|
**Settings**
|
|
|
|
# Implements
|
|
|
|
* [SettingsStruct](../interfaces/_types_.settingsstruct.md)
|
|
|
|
# Constructors
|
|
|
|
<a id="constructor"></a>
|
|
|
|
## constructor
|
|
|
|
⊕ **new Settings**(): [Settings](_settings_.settings.md)
|
|
|
|
*Defined in [Settings.ts:14](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L14)*
|
|
|
|
**Returns:** [Settings](_settings_.settings.md)
|
|
|
|
___
|
|
|
|
# Accessors
|
|
|
|
<a id="apiurl"></a>
|
|
|
|
## apiUrl
|
|
|
|
**get apiUrl**(): `string`
|
|
|
|
*Defined in [Settings.ts:25](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L25)*
|
|
|
|
**Returns:** `string`
|
|
|
|
___
|
|
<a id="availablelanguages"></a>
|
|
|
|
## availableLanguages
|
|
|
|
**get availableLanguages**(): [Options](../modules/_types_.md#options)
|
|
|
|
*Defined in [Settings.ts:45](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L45)*
|
|
|
|
**Returns:** [Options](../modules/_types_.md#options)
|
|
|
|
___
|
|
<a id="availablenodes"></a>
|
|
|
|
## availableNodes
|
|
|
|
**get availableNodes**(): [Options](../modules/_types_.md#options)
|
|
|
|
*Defined in [Settings.ts:41](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L41)*
|
|
|
|
**Returns:** [Options](../modules/_types_.md#options)
|
|
|
|
___
|
|
<a id="availableuimodes"></a>
|
|
|
|
## availableUIModes
|
|
|
|
**get availableUIModes**(): [Options](../modules/_types_.md#options)
|
|
|
|
*Defined in [Settings.ts:49](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L49)*
|
|
|
|
**Returns:** [Options](../modules/_types_.md#options)
|
|
|
|
___
|
|
<a id="availableuithemes"></a>
|
|
|
|
## availableUIThemes
|
|
|
|
**get availableUIThemes**(): [Options](../modules/_types_.md#options)
|
|
|
|
*Defined in [Settings.ts:53](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L53)*
|
|
|
|
**Returns:** [Options](../modules/_types_.md#options)
|
|
|
|
___
|
|
<a id="i18nlang"></a>
|
|
|
|
## i18nLang
|
|
|
|
**get i18nLang**(): `string`
|
|
|
|
*Defined in [Settings.ts:29](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L29)*
|
|
|
|
**Returns:** `string`
|
|
|
|
___
|
|
<a id="uimode"></a>
|
|
|
|
## uiMode
|
|
|
|
**get uiMode**(): `string`
|
|
|
|
*Defined in [Settings.ts:33](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L33)*
|
|
|
|
**Returns:** `string`
|
|
|
|
___
|
|
<a id="uitheme"></a>
|
|
|
|
## uiTheme
|
|
|
|
**get uiTheme**(): `string`
|
|
|
|
*Defined in [Settings.ts:37](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L37)*
|
|
|
|
**Returns:** `string`
|
|
|
|
___
|
|
|
|
# Methods
|
|
|
|
<a id="get"></a>
|
|
|
|
## get
|
|
|
|
▸ **get**(): [SettingsStruct](../interfaces/_types_.settingsstruct.md)
|
|
|
|
*Defined in [Settings.ts:57](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L57)*
|
|
|
|
**Returns:** [SettingsStruct](../interfaces/_types_.settingsstruct.md)
|
|
|
|
___
|
|
<a id="set"></a>
|
|
|
|
## set
|
|
|
|
▸ **set**(settings: *`Partial`<[SettingsStruct](../interfaces/_types_.settingsstruct.md)>*): `void`
|
|
|
|
*Defined in [Settings.ts:66](https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-settings/src/Settings.ts#L66)*
|
|
|
|
**Parameters:**
|
|
|
|
| Name | Type |
|
|
| ------ | ------ |
|
|
| settings | `Partial`<[SettingsStruct](../interfaces/_types_.settingsstruct.md)> |
|
|
|
|
**Returns:** `void`
|
|
|
|
___
|
|
|