Package-level declarations

Types

Link copied to clipboard

Fullscreen modal window modes.

Link copied to clipboard
interface IModal : ITag<HTMLDivElement>

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.

Link copied to clipboard

Modal window sizes.

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
fun IComponent.modal(    caption: String? = null,     closeButton: Boolean = true,     closeButtonAction: () -> Unit? = null,     size: ModalSize? = null,     fullscreenMode: FullscreenMode? = null,     animation: Boolean = true,     centered: Boolean = false,     scrollable: Boolean = false,     escape: Boolean = true,     focus: Boolean = true,     className: String? = null,     id: String? = null,     content: @Composable IModal.() -> Unit = {})

Creates a Modal component.

Link copied to clipboard
@Composable
fun IComponent.modalRef(    caption: String? = null,     closeButton: Boolean = true,     closeButtonAction: () -> Unit? = null,     size: ModalSize? = null,     fullscreenMode: FullscreenMode? = null,     animation: Boolean = true,     centered: Boolean = false,     scrollable: Boolean = false,     escape: Boolean = true,     focus: Boolean = true,     className: String? = null,     id: String? = null,     content: @Composable IModal.() -> Unit = {}): Modal

Creates a Modal component, returning a reference.