DefaultOverlay

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.

Constructors

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

Functions

render
Link copied to clipboard
js
open override fun render(renderContext: RenderContext, level: Int)

Properties

method
Link copied to clipboard
js
open override val method: OverlayMethod
styling
Link copied to clipboard
js
open override val styling: Style<BasicParams>