Settings
Describes Setting objects.
Settings on their own are not bound to a specific Feature and only contain the necessary properties/functions. Here are these parameters:
Type | Name | Description | Signature |
---|---|---|---|
function | getName | Returns the Setting's name | string() |
function | getSignature | Returns the path to the Setting in the config file. | string() |
field | type | Setting type (currently will only be | string |
Setting objects can be up-casted to FeatureSetting, by using setting.as('FeatureSetting')
, if the setting was made for a feature. By default, if you're retrieiving a Setting by using Feature#getSetting, you're not required to do this - you will receive the latest object on the chain, be it a CheckboxSettting
, a ComboSetting
, etc.
Last updated