MCPcopy Index your code
hub / github.com/ampproject/amphtml / isLayoutSupported

Method isLayoutSupported

src/base-element.js:383–385  ·  view source on GitHub ↗

* Intended to be implemented by subclasses. Tests whether the element * supports the specified layout. By default only Layout_Enum.NODISPLAY is * supported. * @param {!Layout_Enum} layout * @return {boolean} * @public

(layout)

Source from the content-addressed store, hash-verified

381 * @public
382 */
383 isLayoutSupported(layout) {
384 return layout == Layout_Enum.NODISPLAY;
385 }
386
387 /**
388 * Intended to be implemented by subclasses. Tests whether the element

Callers 1

assertLayout_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected