kvision / pl.treksoft.kvision.onsenui.list / OnsListItem / <init>

<init>

(js) OnsListItem(content: String? = null, rich: Boolean = false, tappable: Boolean? = null, divider: DividerType? = null, classes: Set<String> = setOf(), init: (OnsListItem.() -> Unit)? = null)

Creates a list item component.

Parameters

content - the content of the center section

rich - whether content can contain HTML code

tappable - whether the element reacts to taps

divider - a divider type

classes - a set of CSS class names

init - an initializer extension function

Constructor
Creates a list item component.