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

Function getActionInvocation

test/unit/test-action.js:1664–1676  ·  view source on GitHub ↗
(element, action, opt_tagOrTarget)

Source from the content-addressed store, hash-verified

1662 let getDefaultActionAlias;
1663
1664 function getActionInvocation(element, action, opt_tagOrTarget) {
1665 return new ActionInvocation(
1666 element,
1667 action,
1668 /* args */ null,
1669 'source',
1670 'caller',
1671 'event',
1672 ActionTrust_Enum.HIGH,
1673 'tap',
1674 opt_tagOrTarget || element.tagName
1675 );
1676 }
1677
1678 beforeEach(() => {
1679 spy = env.sandbox.spy();

Callers 1

test-action.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected