Package dev.fritz2.components.modal

Types

Link copied to clipboard
class DefaultOverlay(val method: OverlayMethod = OverlayMethod.CoveringTopMost, val styling: Style<BasicParams> = Theme().modal.overlay) : Overlay

Default implementation of an overlay, that simply uses one `Div` as surface to apply some styling like covering the screen with some transparent color.

Link copied to clipboard
open class ModalComponent : ManagedComponent<SimpleHandler<Unit>> , CloseButtonProperty

This component class offers primarily some configuration options for modal dialogs.

Link copied to clipboard
typealias ModalRenderContext = RenderContext.(level: Int) -> Div

Alias for reducing boilerplate in various places, as this extension signature is used quite often within modal source code.

Link copied to clipboard
interface Overlay

This interface defines the overlay type. It can be used to create custom overlay functionalities.

Link copied to clipboard
enum OverlayMethod : Enum<OverlayMethod>

Enum that categorizes the methods of an overlay implementation.