kvision / pl.treksoft.kvision.onsenui.form / OnsButton / <init>

<init>

(js) OnsButton(content: String? = null, rich: Boolean = false, align: Align? = null, icon: String? = null, buttonType: OnsButtonType? = null, large: Boolean? = null, ripple: Boolean? = null, disabled: Boolean? = null, classes: Set<String> = setOf(), init: (OnsButton.() -> Unit)? = null)

Creates a 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

buttonType - a type of the button

large - whether the button is large

ripple - specify if the button will have a ripple effect

disabled - specify if the button should be disabled

classes - a set of CSS class names

init - an initializer extension function

Constructor
Creates a button component.