getAttribute

fun getAttribute(qualifiedName: String): String?(source)

The getAttribute() method of the element.

MDN Reference