MCPcopy
hub / github.com/ampproject/amphtml / resolveUrl_

Method resolveUrl_

examples/pwa/pwa.js:170–176  ·  view source on GitHub ↗

* @param {string} url * @return {string}

(url)

Source from the content-addressed store, hash-verified

168 * @return {string}
169 */
170 resolveUrl_(url) {
171 if (!this.a_) {
172 this.a_ = this.win.document.createElement('a');
173 }
174 this.a_.href = url;
175 return this.a_.href;
176 }
177
178 closeSidebar() {
179 if (this.sidebarCloseButton_) {

Callers 1

navigateToMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected