Package dev.fritz2.components.modal

Types

DefaultOverlay
Link copied to clipboard
js
class DefaultOverlay(method: OverlayMethod, styling: Style<BasicParams>) : 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.
ModalComponent
Link copied to clipboard
js
open class ModalComponent : ManagedComponent<SimpleHandler<Unit>> , CloseButtonProperty
This component class offers primarily some configuration options for modal dialogs.
ModalRenderContext
Link copied to clipboard
js
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.

Overlay
Link copied to clipboard
js
interface Overlay
This interface defines the overlay type.
OverlayMethod
Link copied to clipboard
js
enum OverlayMethod : Enum<OverlayMethod>
Enum that categorizes the methods of an overlay implementation.