From 9d35bb1e3d8186228cc409faa6d681624f20e9cd Mon Sep 17 00:00:00 2001
From: Robert Jaros
open fun addCssClass(css: String): Widget
Adds given value to the set of CSS classes generated in html code of current component.
-open fun addCssClass(css: Style): Widget
+open fun addCssStyle(css: Style): Widget
Adds given style object to the set of CSS classes generated in html code of current component.
open fun addSurroundingCssClass(css: String): Widget
Adds given value to the set of CSS classes generated in html code of parent component.
-open fun addSurroundingCssClass(css: Style): Widget
+open fun addSurroundingCssStyle(css: Style): Widget
Adds given style object to the set of CSS classes generated in html code of parent component.
open fun removeCssClass(css: String): Widget
Removes given value from the set of CSS classes generated in html code of current component.
-open fun removeCssClass(css: Style): Widget
+open fun removeCssStyle(css: Style): Widget
Removes given style object from the set of CSS classes generated in html code of current component.
open fun removeSurroundingCssClass(css: String): Widget
Removes given value from the set of CSS classes generated in html code of parent component.
-open fun removeSurroundingCssClass(css: Style): Widget
+open fun removeSurroundingCssStyle(css: Style): Widget
Removes given style object from the set of CSS classes generated in html code of parent component.
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
Sets an event listener for current widget, keeping the actual type of component.
-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
Sets an event listener for current widget.
fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget