MCPcopy Index your code
hub / github.com/ampproject/amphtml / attrs

Method attrs

validator/js/engine/htmlparser-interface.js:269–271  ·  view source on GitHub ↗

* Returns an array of attributes. Each attribute has two fields: name and * value. Name is always lower-case, value is the case from the original * document. Values are unescaped. * @return {!Array<!ParsedAttr>}

()

Source from the content-addressed store, hash-verified

267 * @return {!Array<!ParsedAttr>}
268 */
269 attrs() {
270 return this.attrs_;
271 }
272 /**
273 * Returns an object mapping attribute name to attribute value. This is
274 * populated lazily, as it's not used for most tags.

Callers 5

attrsByKeyMethod · 0.80
hasDuplicateAttrsMethod · 0.80
startTagMethod · 0.80
startTagMethod · 0.80
startTagMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected