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

Method toggleLoading

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

* Hides or shows the loading indicator. * @param {boolean} state * @param {boolean=} force * @public @final

(state, force = false)

Source from the content-addressed store, hash-verified

802 * @public @final
803 */
804 toggleLoading(state, force = false) {
805 this.element.toggleLoading(state, force);
806 }
807
808 /**
809 * Returns an optional overflow element for this custom element.

Callers 4

handleOnLoadMethod · 0.45
handleOnLoadingMethod · 0.45
handleOnErrorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected