kvision / pl.treksoft.kvision.onsenui.toolbar / ToolbarButton / <init>

<init>

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

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

disabled - specify if the button should be disabled

classes - a set of CSS class names

init - an initializer extension function

Constructor
Creates a toolbar button component.