styleIf

fun Node.styleIf(test: Boolean, style: String)

Adds or removes the style depending on test. See Node.styles