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

Method attachedCallback

src/base-element.js:450–452  ·  view source on GitHub ↗

* Override in subclass to adjust the element when it is being added to * the DOM. Could e.g. be used to add a listener. Notice, that this * callback is called immediately after `buildCallback()` if the element * is attached to the DOM.

()

Source from the content-addressed store, hash-verified

448 * is attached to the DOM.
449 */
450 attachedCallback() {
451 // Subclasses may override.
452 }
453
454 /**
455 * Override in subclass to adjust the element when it is being removed from

Callers 1

connected_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected