optionList
Overview
Basic Example
var options = [
"Add a new beneficiary", "Select an existing beneficiary", "Delete all my beneficiaries"
];
// The optionList is created as follows:
var result = optionList(options);
// When a user clicks, the result can be evaluated as follows:
if (result == 0) {
// The user clicked on "Add a new beneficiary"
}
else if (result == 2) {
// The user clicked on "Delete all my beneficiaries"
}
if (result == -1) {
// The user canceled the optionList
}
Configuration
Parameter
Required
Details
Last updated