CodeQL library for JavaScript
codeql/javascript-all 0.2.2 (changelog, source)
Search

Member predicate DOM::ElementDefinition::getAttributeByName

Gets an attribute of this DOM element with name name.

For example, the DOM element <a href="https://semmle.com">Semmle</a> has a single attribute href="https://semmle.com" with the name href.

AttributeDefinition getAttributeByName(string name)