Package-level declarations
Types
Link copied to clipboard
Fullscreen modal window modes.
Link copied to clipboard
Bootstrap modal component.
Link copied to clipboard
open class Modal(className: String? = null, id: String? = null, renderConfig: RenderConfig = RenderConfig.Default) : Tag<HTMLDivElement> , IModal
Bootstrap modal component.
Functions
Link copied to clipboard
fun alert(caption: String? = null, content: String? = null, rich: Boolean = false, size: ModalSize? = null, fullscreenMode: FullscreenMode? = null, animation: Boolean = true, centered: Boolean = false, scrollable: Boolean = false, okTitle: String = "OK", okIcon: String? = "fas fa-check", callback: () -> Unit? = null)
Shows the alert dialog.
Link copied to clipboard
fun confirm(caption: String? = null, content: String? = null, rich: Boolean = false, size: ModalSize? = null, fullscreenMode: FullscreenMode? = null, animation: Boolean = true, centered: Boolean = false, scrollable: Boolean = false, cancelVisible: Boolean = false, yesTitle: String = "Yes", yesIcon: String? = "fas fa-check", noTitle: String = "No", noIcon: String? = "fas fa-ban", cancelTitle: String = "Cancel", cancelIcon: String? = "fas fa-times", noCallback: () -> Unit? = null, yesCallback: () -> Unit? = null)
Shows the confirmation dialog.
Link copied to clipboard
@Composable
Creates a Modal component.
Link copied to clipboard
@Composable
Creates a Modal component, returning a reference.