ActionSheetButton

open class ActionSheetButton(content: String? = null, rich: Boolean = false, align: <Error class: unknown class>? = null, icon: String? = null, className: String? = null, init: ActionSheetButton.() -> Unit? = null)

An action sheet button component.

Parameters

content

the content of the button.

rich

whether content can contain HTML code

align

text align

icon

an icon placed on the button

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
constructor(content: String? = null, rich: Boolean = false, align: <Error class: unknown class>? = null, icon: String? = null, className: String? = null, init: ActionSheetButton.() -> Unit? = null)

Creates an action sheet button component.

Properties

Link copied to clipboard
var icon: String?

The icon placed on the button.

Link copied to clipboard

A modifier attribute to specify custom styles.

Functions

Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun onClick(handler: ActionSheetButton.(<Error class: unknown class>) -> Unit): Int

A convenient helper for easy setting onClick event handler.