MCPcopy Create free account
hub / github.com/ampproject/amphtml / onPop

Method onPop

extensions/amp-bind/0.1/bind-impl.js:387–387  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

385 });
386
387 const onPop = () => this.setState(oldState);
388 return this.setState(result)
389 .then(() => this.getDataForHistory_())
390 .then((data) => {

Callers

nothing calls this directly

Calls 1

setStateMethod · 0.95

Tested by

no test coverage detected