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

Method setHtml

src/base-template.js:44–44  ·  view source on GitHub ↗

* Bypasses template rendering and directly sets HTML. Should only be used * for server-side rendering case. To be implemented by subclasses. * @param {string} unusedData * @return {!Element|!Array } * @abstract

(unusedData)

Source from the content-addressed store, hash-verified

42 * @abstract
43 */
44 setHtml(unusedData) {}
45
46 /**
47 * To be implemented by subclasses.

Callers 1

setHtml_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected