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

Method completeView

third_party/subscriptions-project/swg.js:11459–11466  ·  view source on GitHub ↗

* @param {?./view.View} view

(view)

Source from the content-addressed store, hash-verified

11457 * @param {?./view.View} view
11458 */
11459 completeView(view) {
11460 // Give a small amount of time for another view to take over the dialog.
11461 setTimeout(() => {
11462 if (this.dialog_ && this.dialog_.getCurrentView() == view) {
11463 this.close_();
11464 }
11465 }, 100);
11466 }
11467
11468 /**
11469 */

Callers 10

handleCancellationsMethod · 0.95
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80
complete_Method · 0.80
startMethod · 0.80
startMethod · 0.80
startMethod · 0.80

Calls 2

close_Method · 0.95
getCurrentViewMethod · 0.80

Tested by

no test coverage detected