CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1-dev (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)