kvision / pl.treksoft.kvision.onsenui.core

Package pl.treksoft.kvision.onsenui.core

Onsen UI main structural components (page, navigator).

Types

(js)

BackButton

A back button component designed to be placed inside the toolbar.

open class BackButton : CustomTag
(js)

NavAnimation

Navigator animation types.

enum class NavAnimation
(js)

Navigator

A navigator component.

open class Navigator : SimplePanel
(js)

Page

A page component.

open class Page : SimplePanel
(js)

PullHook

A pull hook component supporting "Pull to refresh" functionality.

open class PullHook : CustomTag

Functions

(js)

backButton

DSL builder extension function.

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

navigator

DSL builder extension function.

fun Root.navigator(animation: NavAnimation? = null, swipeable: Boolean? = null, forceSwipeable: Boolean? = null, classes: Set<String>? = null, className: String? = null, init: (Navigator.() -> Unit)? = null): Navigator
fun SplitterContent.navigator(animation: NavAnimation? = null, swipeable: Boolean? = null, forceSwipeable: Boolean? = null, classes: Set<String>? = null, className: String? = null, init: (Navigator.() -> Unit)? = null): Navigator
fun Tab.navigator(animation: NavAnimation? = null, swipeable: Boolean? = null, forceSwipeable: Boolean? = null, classes: Set<String>? = null, className: String? = null, init: (Navigator.() -> Unit)? = null): Navigator
(js)

page

DSL builder extension function.

fun Root.page(classes: Set<String>? = null, className: String? = null, init: (Page.() -> Unit)? = null): Page
fun Navigator.page(pageId: String? = null, classes: Set<String>? = null, className: String? = null, init: (Page.() -> Unit)? = null): Page
fun SplitterSide.page(pageId: String? = null, classes: Set<String>? = null, className: String? = null, init: (Page.() -> Unit)? = null): Page
fun SplitterContent.page(pageId: String? = null, classes: Set<String>? = null, className: String? = null, init: (Page.() -> Unit)? = null): Page
fun Tab.page(classes: Set<String>? = null, className: String? = null, init: (Page.() -> Unit)? = null): Page
fun Dialog.page(classes: Set<String>? = null, className: String? = null, init: (Page.() -> Unit)? = null): Page
(js)

pullHook

DSL builder extension function.

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