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 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
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): Promise<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): Promise<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): Promise<String?>
Displays prompt notification.
Link copied to clipboard