kvision / pl.treksoft.kvision.onsenui.list

Package pl.treksoft.kvision.onsenui.list

Onsen UI list component.

Types

(js)

DividerType

List item divider types.

enum class DividerType
(js)

OnsLazyRepeat

An Onsen UI lazy repeat helper component.

open class OnsLazyRepeat : Widget
(js)

OnsList

An Onsen UI list component.

open class OnsList : SimplePanel
(js)

OnsListHeader

An Onsen UI list header component.

open class OnsListHeader : CustomTag
(js)

OnsListItem

An Onsen UI list item component.

open class OnsListItem : SimplePanel
(js)

OnsListTitle

An Onsen UI list title component.

open class OnsListTitle : CustomTag

Functions

(js)

header

DSL builder extension function.

fun OnsList.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (OnsListHeader.() -> Unit)? = null): OnsListHeader
(js)

item

DSL builder extension function.

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

onsLazyRepeat

DSL builder extension function.

fun OnsList.onsLazyRepeat(classes: Set<String>? = null, className: String? = null, init: (OnsLazyRepeat.() -> Unit)? = null): OnsLazyRepeat

DSL builder extension function for simple configuration.

fun OnsList.onsLazyRepeat(itemsCount: Int, classes: Set<String>? = null, className: String? = null, createItemContentCallback: (index: Int) -> HTMLElement): OnsLazyRepeat
(js)

onsList

DSL builder extension function.

fun Container.onsList(inset: Boolean = false, noborder: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (OnsList.() -> Unit)? = null): OnsList
(js)

onsListTitle

DSL builder extension function.

fun Container.onsListTitle(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (OnsListTitle.() -> Unit)? = null): OnsListTitle