window
fun Container.window(caption: String? = null, contentWidth: <ERROR CLASS><Number, UNIT>? = CssSize(0, UNIT.auto), contentHeight: <ERROR CLASS><Number, UNIT>? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String>? = null, className: String? = null, init: Window.() -> Unit? = null): Window
Content copied to clipboard
DSL builder extension function.
It takes the same parameters as the constructor of the built component.
fun <S> Container.window(state: ObservableState<S>, caption: String? = null, contentWidth: <ERROR CLASS><Number, UNIT>? = CssSize(0, UNIT.auto), contentHeight: <ERROR CLASS><Number, UNIT>? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String>? = null, className: String? = null, init: Window.(S) -> Unit): Window
Content copied to clipboard
DSL builder extension function for observable state.
It takes the same parameters as the constructor of the built component.