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

Function HAS_PASSTHROUGH

src/preact/base-element.js:93–93  ·  view source on GitHub ↗
(def)

Source from the content-addressed store, hash-verified

91 * @return {boolean}
92 */
93const HAS_PASSTHROUGH = (def) => !!(def.passthrough || def.passthroughNonEmpty);
94
95/**
96 * Wraps a Preact Component in a BaseElement class.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected