setAttributes

fun setAttributes(vararg pair: Pair<String, JsonPrimitive>): Element(source)

A utility function to set multiple attributes in a single call, in the style of mapOf. This is a wrapper around set.