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

Method getParam

src/service/viewer-interface.js:24–24  ·  view source on GitHub ↗

* Returns the value of a viewer's startup parameter with the specified * name or "undefined" if the parameter wasn't defined at startup time. * TODO(#22733): deprecate/remove when ampdoc-fie is launched. Be careful that it's * exported. Need to make sure it's not used externally. * @para

(name)

Source from the content-addressed store, hash-verified

22 * @return {?string}
23 */
24 getParam(name) {}
25
26 /**
27 * Viewers can communicate their "capabilities" and this method allows

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected