Материал из Module developer
Types of complicated actions, events, conditions
This section describes types and the structure of objects of complicated actions, events, conditions
There are several object structures depending n the type of compliated actions:
- IR.ADVANCED_NUMBER - when this type is used, a popup with IR.ITEM_PICKER is used to select a value:
- Name: String, //Name with the help of which value in a function can be received
- Type: IR.ADVANCED_NUMBER, //Тип
- Min: Number //minimal value of IR.ITEM_PICKER
- Max: Number // max value of IR.ITEM_PICKER
- IR.ADVANCED_SLIDER - When this type is used a popup with a dimmer to select value is used:
- Name: String, //Name with the help of which value in a function can be received
- Type: IR.ADVANCED_SLIDER, //Тип
- Min: Number // minimal value of Level
- Max: Number //max value of Level
- IR.ADVANCED_SELECT - when this type is used a popup with a value list is used:
- Name: String, //Name with the help of which value in a function can be received
- Type: IR.ADVANCED_SELECT, //Type
- Parameters: Array //Objects array, see below
- IR.ADVANCED_STRING - when this type is used, a popup with a test field to enter value is used:
- Name: String, //Name with the help of which value in a function can be received
- Type: IR.ADVANCED_STRING, //Type
- Default: String //Default value
- Keyboard: Number //Type of keyboard: ссылка}}
- IR.ADVANCED_COLOR - when this type is used, a popup with ColorPicker to select color is used:
- Name: String, //Name with the help of which value in a function can be received
- Type: IR.ADVANCED_COLOR //Type
