MCPcopy
hub / github.com/angular/angular / getDefaulted

Function getDefaulted

packages/core/primitives/event-dispatch/src/cache.ts:27–31  ·  view source on GitHub ↗
(element: Element)

Source from the content-addressed store, hash-verified

25 * creates an empty one.
26 */
27export function getDefaulted(element: Element): {[key: string]: string | undefined} {
28 const cache = get(element) ?? {};
29 set(element, cache);
30 return cache;
31}
32
33/**
34 * Writes the jsaction parser cache to the given DOM Element.

Callers

nothing calls this directly

Calls 2

getFunction · 0.70
setFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…