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

Method mountCallback

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

* Load heavy elements, perform expensive operations, add global * listeners/observers, etc. The mount and unmount can be called multiple * times for resource management. The unmount should reverse the changes * made by the mount. See `unmountCallback` for more info. * * If this callba

(opt_abortSignal)

Source from the content-addressed store, hash-verified

561 * @return {?Promise|undefined}
562 */
563 mountCallback(opt_abortSignal) {}
564
565 /**
566 * Unload heavy elements, remove global listeners, etc.

Callers 1

mountInternalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected