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

Method constructor

test/unit/test-custom-element-v1.js:64–67  ·  view source on GitHub ↗
(element, source)

Source from the content-addressed store, hash-verified

62 }
63
64 constructor(element, source) {
65 super(element);
66 this.source = source;
67 }
68
69 isLayoutSupported() {
70 return true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected