Package-level declarations

Onsen UI dialogs, toasts, popovers and notifications.

Types

Link copied to clipboard
open class ActionSheet(actionSheetTitle: String? = null, cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: ActionSheet.() -> Unit? = null) : SimplePanel

An action sheet component.

Link copied to clipboard
open class ActionSheetButton(content: String? = null, rich: Boolean = false, align: Align? = null, icon: String? = null, className: String? = null, init: ActionSheetButton.() -> Unit? = null) : CustomTag

An action sheet button component.

Link copied to clipboard
open class AlertDialog(dialogTitle: String? = null, cancelable: Boolean? = null, animation: Boolean? = null, rowfooter: Boolean? = null, className: String? = null, init: AlertDialog.() -> Unit? = null) : Dialog

An alert dialog component.

Link copied to clipboard
open class AlertDialogButton(content: String? = null, rich: Boolean = false, align: Align? = null, icon: String? = null, className: String? = null, init: AlertDialogButton.() -> Unit? = null) : CustomTag

An alert dialog button component.

Link copied to clipboard
open class Dialog(cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: Dialog.() -> Unit? = null) : SimplePanel

A dialog component.

Link copied to clipboard
open class Modal(animation: ModalAnimation? = null, className: String? = null, init: Modal.() -> Unit? = null) : SimplePanel

A modal component.

Link copied to clipboard
Link copied to clipboard
open class Popover(direction: FloatDirection? = null, cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: Popover.() -> Unit? = null) : SimplePanel

A popover component.

Link copied to clipboard
open class Toast(animation: ToastAnimation? = null, className: String? = null, init: Toast.() -> Unit? = null) : SimplePanel

A toast component.

Link copied to clipboard

Functions

Link copied to clipboard
fun Container.actionSheet(actionSheetTitle: String? = null, cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: ActionSheet.() -> Unit? = null): ActionSheet

DSL builder extension function.

Link copied to clipboard
fun ActionSheet.actionSheetButton(content: String? = null, rich: Boolean = false, align: Align? = null, icon: String? = null, className: String? = null, init: ActionSheetButton.() -> Unit? = null): ActionSheetButton

DSL builder extension function.

Link copied to clipboard
fun Container.alertDialog(dialogTitle: String? = null, cancelable: Boolean? = null, animation: Boolean? = null, rowfooter: Boolean? = null, className: String? = null, init: AlertDialog.() -> Unit? = null): AlertDialog

DSL builder extension function.

Link copied to clipboard
fun AlertDialog.alertDialogButton(content: String? = null, rich: Boolean = false, align: Align? = null, icon: String? = null, className: String? = null, init: AlertDialogButton.() -> Unit? = null): AlertDialogButton

DSL builder extension function.

Link copied to clipboard
fun Container.dialog(cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: Dialog.() -> Unit? = null): Dialog

DSL builder extension function.

Link copied to clipboard
fun Container.modal(animation: ModalAnimation? = null, className: String? = null, init: Modal.() -> Unit? = null): Modal

DSL builder extension function.

Link copied to clipboard
fun Container.popover(direction: FloatDirection? = null, cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: Popover.() -> Unit? = null): Popover

DSL builder extension function.

Link copied to clipboard
fun showActionSheet(title: String? = null, cancelable: Boolean? = null, animation: Boolean? = null, buttons: List<dynamic>? = null): <Error class: unknown class><Int>

Displays a dynamic action sheet.

Link copied to clipboard
fun showAlert(message: String, title: String? = null, buttonLabels: List<String>? = null, primaryButtonIndex: Int? = null, cancelable: Boolean = false, animation: Boolean = true, id: String? = null, className: String? = null, modifier: String? = null, maskColor: String? = null, callback: () -> Unit? = null): <Error class: unknown class><Int>

Displays alert notification.

Link copied to clipboard
fun showConfirm(message: String, title: String? = null, buttonLabels: List<String>? = null, primaryButtonIndex: Int? = null, cancelable: Boolean = false, animation: Boolean = true, id: String? = null, className: String? = null, modifier: String? = null, maskColor: String? = null, callback: () -> Unit? = null): <Error class: unknown class><Int>

Displays confirm notification.

Link copied to clipboard
fun showPrompt(message: String, title: String? = null, defaultValue: String? = null, placeholder: String? = null, inputType: String? = null, buttonLabels: List<String>? = null, primaryButtonIndex: Int? = null, autofocus: Boolean = true, submitOnEnter: Boolean = true, cancelable: Boolean = false, animation: Boolean = true, id: String? = null, className: String? = null, modifier: String? = null, maskColor: String? = null, callback: () -> Unit? = null): <Error class: unknown class><String?>

Displays prompt notification.

Link copied to clipboard
fun showToast(message: String, buttonLabel: String? = null, animation: ToastAnimation? = null, timeout: Int? = 2000, force: Boolean = false, id: String? = null, className: String? = null, modifier: String? = null, callback: () -> Unit? = null): <Error class: unknown class><Int>

Displays toast notification.

Link copied to clipboard
fun Container.toast(animation: ToastAnimation? = null, className: String? = null, init: Toast.() -> Unit? = null): Toast

DSL builder extension function.