MCPcopy
hub / github.com/ampproject/amphtml / scanNode_

Method scanNode_

src/service/fixed-layer.js:213–220  ·  view source on GitHub ↗

* @param {!Node} node * @param {boolean=} opt_lightboxMode * @private

(node, opt_lightboxMode)

Source from the content-addressed store, hash-verified

211 * @private
212 */
213 scanNode_(node, opt_lightboxMode) {
214 this.trySetupSelectors_(node, opt_lightboxMode);
215
216 // Sort tracked elements in document order.
217 this.sortInDomOrder_();
218
219 this.update();
220 }
221
222 /**
223 * Begin observing changes to the hidden attribute.

Callers 2

enterLightboxMethod · 0.95
setupMethod · 0.95

Calls 3

trySetupSelectors_Method · 0.95
sortInDomOrder_Method · 0.95
updateMethod · 0.95

Tested by

no test coverage detected