MCPcopy
hub / github.com/angular/angular / set

Function set

packages/core/primitives/event-dispatch/src/cache.ts:36–38  ·  view source on GitHub ↗
(element: Element, actionMap: {[key: string]: string | undefined})

Source from the content-addressed store, hash-verified

34 * Writes the jsaction parser cache to the given DOM Element.
35 */
36export function set(element: Element, actionMap: {[key: string]: string | undefined}) {
37 element[Property.JSACTION] = actionMap;
38}
39
40/**
41 * Looks up the parsed action map from the source jsaction attribute value.

Callers 1

getDefaultedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected