PopupMenuItem

data class PopupMenuItem(var title: StyledText = StyledText( ), var accessibilityDescription: String = "", var icon: IconStyle = IconStyle( )) : Parcelable

Configuration for the popup menu items.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(title: StyledText = StyledText( ), accessibilityDescription: String = "", icon: IconStyle = IconStyle( ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The text to be read when the button is selected through accessibility mode.

Link copied to clipboard

Configuration of the icon appearance.

Link copied to clipboard

The text to be displayed on the button.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject