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

Method init

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

@override

(dialog)

Source from the content-addressed store, hash-verified

3931
3932 /** @override */
3933 init(dialog) {
3934 return this.activityPorts_
3935 .openIframe(this.iframe_, this.src_, this.args_)
3936 .then((port) => this.onOpenIframeResponse_(port, dialog));
3937 }
3938
3939 /**
3940 * Returns if document should fade for this view.

Callers

nothing calls this directly

Calls 3

onOpenIframeResponse_Method · 0.95
openIframeMethod · 0.80
thenMethod · 0.45

Tested by

no test coverage detected