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

Method getApi

src/base-element.js:1048–1050  ·  view source on GitHub ↗

* Returns this BaseElement instance. This is equivalent to Bento's * imperative API object, since this is where we define the element's custom * APIs. * * @return {!Promise<!Object>}

()

Source from the content-addressed store, hash-verified

1046 * @return {!Promise<!Object>}
1047 */
1048 getApi() {
1049 return this;
1050 }
1051}
1052
1053/**

Callers 1

whenUpgradedFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected