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

Method constructor

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

* @param {boolean|undefined} canDisplayAutoPrompt * @param {boolean|undefined} canDisplayButton * @param {boolean|undefined} purchaseUnavailableRegion

(
    canDisplayAutoPrompt,
    canDisplayButton,
    purchaseUnavailableRegion
  )

Source from the content-addressed store, hash-verified

9546 * @param {boolean|undefined} purchaseUnavailableRegion
9547 */
9548 constructor(
9549 canDisplayAutoPrompt,
9550 canDisplayButton,
9551 purchaseUnavailableRegion
9552 ) {
9553 /** @const {boolean|undefined} */
9554 this.canDisplayAutoPrompt = canDisplayAutoPrompt;
9555
9556 /** @const {boolean|undefined} */
9557 this.canDisplayButton = canDisplayButton;
9558
9559 /** @const {boolean|undefined} */
9560 this.purchaseUnavailableRegion = purchaseUnavailableRegion;
9561 }
9562}
9563
9564/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected