DropdownOption
Represents an item in a dropdown.
Inherits: Control
Properties
content- AControlto display in this option.key- Option's key.leading_icon- An optional icon to display before the content or text.style- Customizes this menu item's appearance.text- Option's display text.trailing_icon- An optional icon to display after the content or text.
Properties
contentclass-attributeinstance-attribute
content: Optional[Control] = NoneA Control to display in this option. If not specified, text will be used as fallback, else text will be ignored.