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

Method resume

src/custom-element.js:1710–1715  ·  view source on GitHub ↗

* Requests the resource to resume its activity when the document returns * from an inactive state. The scope is up to the actual component. Among * other things the active playback of video or audio content may be * resumed. * * @package @final

()

Source from the content-addressed store, hash-verified

1708 * @package @final
1709 */
1710 resume() {
1711 if (!this.isBuilt()) {
1712 return;
1713 }
1714 this.impl_.resumeCallback();
1715 }
1716
1717 /**
1718 * Requests the element to unload any expensive resources when the element

Callers

nothing calls this directly

Calls 2

isBuiltMethod · 0.95
resumeCallbackMethod · 0.45

Tested by

no test coverage detected