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

Method requiresShadowDom

src/base-element.js:231–233  ·  view source on GitHub ↗

* Subclasses can override this method to indicate that instances need to * use Shadow DOM. The Runtime will ensure that the Shadow DOM polyfill is * installed before upgrading and building this class. * * @return {boolean} *

()

Source from the content-addressed store, hash-verified

229 *
230 */
231 static requiresShadowDom() {
232 return false;
233 }
234
235 /** @param {!AmpElement} element */
236 constructor(element) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected