MCPcopy Index your code
hub / github.com/ampproject/amphtml / handleOnLoading

Method handleOnLoading

src/preact/amp-base-element.js:77–79  ·  view source on GitHub ↗

* Default handler for onLoading event * Reveals loader. Override to customize. * @protected

()

Source from the content-addressed store, hash-verified

75 * @protected
76 */
77 handleOnLoading() {
78 this.toggleLoading?.(true);
79 }
80
81 /**
82 * Default handler for onError event

Callers 1

getDefaultPropsMethod · 0.95

Calls 1

toggleLoadingMethod · 0.45

Tested by

no test coverage detected