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

Member predicate DOM::DocumentElementDefinition::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)