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

Method isLayoutSupported

extensions/amp-script/0.1/amp-script.js:150–152  ·  view source on GitHub ↗

@override

(layout)

Source from the content-addressed store, hash-verified

148
149 /** @override */
150 isLayoutSupported(layout) {
151 return layout == Layout_Enum.CONTAINER || isLayoutSizeDefined(layout);
152 }
153
154 /** @override */
155 buildCallback() {

Callers

nothing calls this directly

Calls 1

isLayoutSizeDefinedFunction · 0.90

Tested by

no test coverage detected