# core-settings
# default ⇒ function
Create a get/set method pair for a JSON setting by its name.
Returns: function - Factory that takes a JSON setting name.
| Param | Type | Description |
|---|---|---|
| name | string | Name of a JSON setting. |
Properties
| Name | Type |
|---|---|
| get | function |
| set | function |
# default~get() ⇒ Any
Get setting value.
Kind: inner method of default
# default~set(v)
Set new setting value and write the current settings.
Kind: inner method of default
| Param | Type | Description |
|---|---|---|
| v | Any | The JSON-serializable value to store. |
← App extensions →