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

Method getDefaultActionAlias

src/custom-element.js:467–473  ·  view source on GitHub ↗

* Get the default action alias. * @return {?string}

()

Source from the content-addressed store, hash-verified

465 * @return {?string}
466 */
467 getDefaultActionAlias() {
468 devAssert(
469 this.isUpgraded(),
470 'Cannot get default action alias of unupgraded element'
471 );
472 return this.impl_.getDefaultActionAlias();
473 }
474
475 /** @return {boolean} */
476 isBuilding() {

Callers

nothing calls this directly

Calls 2

isUpgradedMethod · 0.95
devAssertFunction · 0.90

Tested by

no test coverage detected