|
|
| default_selected |
| | Used to indicate whether the option would be selected by default or not.
|
| |
|
| option_label |
| | The displayed string value for the option.
|
| |
|
| option_value |
| | The option string value.
|
| |
|
| selected |
| | Used to indicate whether the option is selected or not.
|
| |
◆ constructor()
| ChoiceOption.constructor |
( |
|
option_value, |
|
|
|
option_label, |
|
|
|
selected, |
|
|
|
default_selected |
|
) |
| |
Constructor, with parameters.
- Parameters
-
| [in] | option_value | The option string value. |
| [in] | option_label | The displayed string value for the option. |
| [in] | selected | true means the option is selected, and false means the option is not selected. |
| [in] | default_selected | true means the option would be selected by default, and false means the option would not be selected by default. |
Set value.
- Parameters
-
| [in] | option_value | The option string value. |
| [in] | option_label | The displayed string value for the option. |
| [in] | selected | true means the option is selected, and false means the option is not selected. |
| [in] | default_selected | true means the option would be selected by default, and false means the option would not be selected by default. |
- Returns
- None.