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

Method createButton

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

@override

(optionsOrCallback, callback)

Source from the content-addressed store, hash-verified

19462
19463 /** @override */
19464 createButton(optionsOrCallback, callback) {
19465 // This is a minor duplication to allow this code to be sync.
19466 return this.buttonApi_.create(optionsOrCallback, callback);
19467 }
19468
19469 /** @override */
19470 attachButton(button, optionsOrCallback, callback) {

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected