TextPopupElement constructor
- String text
Creates a new text pop-up element with the given text.
Parameters:
text
— This is string value indicating the text to be displayed within the popupElement. If notext
property is provided, the popupElement will display whatever is specified in the PopupDefinition.description property.