getAttribute method

String? getAttribute(
  1. String qualifiedName
)
inherited

The getAttribute() method of the Element interface returns the value of a specified attribute on the element.

If the given attribute does not exist, the value returned will be null.

If you need to inspect the Attr node's properties, you can use the Element.getAttributeNode method instead.

Implementation

external String? getAttribute(String qualifiedName);