addStyle

infix fun <T : Node> T.addStyle(newStyleClass: String): T

Infix extension function to add a styleclass selector to a Node.

Parameters

newStyleClass

The selector to apply to the Node