optionList
Overview
optionList
displays a list of options to the user. optionList
needs to be triggered from the JavaScript/TypeScript.
Basic Example
Configuration
Parameter
Required
Details
arrayOfButtons
Required
An array of strings denoting the text of the options
additionalOptions
Optional
An object with one or more of the following properties:
title: (String) The title of the optionList Defaults to
Choose an option
.
Returns: The index of the selected option. If the user cancels the optionList
, -1
will be returned.
Last updated