Skip to content

getText()

Return the selected item.

Parameters

Once an object dropdown has been created, you can use the following function:

dropdown.getText()

Returns

return text

Value Type Description
text str The text of the item currently selected.