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

Method collapseElement

src/service/mutator-interface.js:59–59  ·  view source on GitHub ↗

* Collapses the element: ensures that it's `display:none`, notifies its * owner and updates the layout box. * @param {!Element} element

(element)

Source from the content-addressed store, hash-verified

57 * @param {!Element} element
58 */
59 collapseElement(element) {}
60
61 /**
62 * Runs the specified measure, which is called in the "measure" vsync phase.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected