MCPcopy Create free account
hub / github.com/ampproject/amphtml / getUrls

Method getUrls

src/core/dom/srcset.js:222–224  ·  view source on GitHub ↗

* Returns all URLs in the srcset. * @return {Array }

()

Source from the content-addressed store, hash-verified

220 * @return {Array<string>}
221 */
222 getUrls() {
223 return this.sources_.map((s) => s.url);
224 }
225
226 /**
227 * Reconstructs the string expression for this srcset.

Callers 1

isResultValidMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected