Parameter | Description |
---|---|
text | The text associated with the element. |
icon | The icon associated with the element. |
dropdownClickEvent | Action triggered when the dropdown is clicked. Usually opens a window or a dropdown menu through the use of GenericMenu. |
Constructor.