getAttribute

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

Returns the value of the custom attribute with the given attribute name.