booleanAttr

fun AttrsScope<*>.booleanAttr(attr: String, value: Boolean): AttrsScope<Element>(source)

Adds an attribute that has an explicit Boolean value unlike attr.