kvision / pl.treksoft.kvision.onsenui.dialog / Toast / <init>

<init>

(js) Toast(animation: ToastAnimation? = null, classes: Set<String> = setOf(), init: (Toast.() -> Unit)? = null)

Creates a toast component.

Parameters

animation - the type of animation

classes - a set of CSS class names

init - an initializer extension function

Constructor
Creates a toast component.