setParameter

fun setParameter(namespaceURI: String?, localName: String, value: Any?)(source)

MDN Reference