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

Method constructor

src/preact/bento-ce.js:97–106  ·  view source on GitHub ↗

@override

()

Source from the content-addressed store, hash-verified

95 return class CustomElement extends ExtendableHTMLElement {
96 /** @override */
97 constructor() {
98 super();
99
100 /**
101 * @type {import('./base-element').PreactBaseElement<T>}
102 */
103 this.implementation = new BaseElement(
104 /** @type {AmpElement} */ (/** @type {?} */ (this))
105 );
106 }
107
108 /** */
109 connectedCallback() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected