ChoiceSetSelectionListener
ChoiceSetSelectionListener
Initializes an instance of ChoiceSetSelectionListener.
Safely attempts to invoke the onChoiceSelected event.
Kind: Instance method of ChoiceSetSelectionListener
Param | Type | Description |
---|---|---|
choiceCell | ChoiceCell |
Represents a choice |
triggerSource | TriggerSource |
Indicates the source from where the command was triggered |
rowIndex | Number |
The index of the choice selected |
Safely attempts to invoke the onError event.
Kind: Instance method of ChoiceSetSelectionListener
Param | Type | Description |
---|---|---|
error | String |
The error string. |
ChoiceSetSelectionListener
Set the onChoiceSelected function.
Kind: Instance method of ChoiceSetSelectionListener
Returns: ChoiceSetSelectionListener
- A reference to this instance to allow method chaining.
Param | Type | Description |
---|---|---|
listener | function |
A function to be invoked when the event occurs. |
ChoiceSetSelectionListener
Set the onError function.
Kind: Instance method of ChoiceSetSelectionListener
Returns: ChoiceSetSelectionListener
- A reference to this instance to allow method chaining.
Param | Type | Description |
---|---|---|
listener | function |
A function to be invoked when the event occurs. |