List-selectable-group widget
The list-selectable-group widget displays a list of text items with a header. The user can select one item.
Example
Properties
Property |
Description |
Data type |
---|---|---|
|
Name of event that fires when a user clicks the list item. |
string |
|
Unique identifier of this widget. |
string |
type
|
Rich-media type, which is always ListSelectableGroup . |
string |
Widget-specific expression evaluations
Property |
Description |
Data type |
---|---|---|
|
Example: |
integer |
|
Example: |
string |
Code sample
var obj = {
"widgetType": "inline",
"widgetAction": "optional",
"widgetView": "bubble",
"nodes":
[{
"id": "widget1",
"controls": {
"0": {
"type": "ListSelectableGroup",
"items": ["satisfactory", "excellent"],
"id": "list1",
"header": "Choose from below"
}
}
}
]
}