MCPcopy Create free account
hub / github.com/angular/angular / shimContentAttribute

Function shimContentAttribute

packages/platform-browser/src/dom/dom_renderer.ts:103–105  ·  view source on GitHub ↗
(componentShortId: string)

Source from the content-addressed store, hash-verified

101}
102
103export function shimContentAttribute(componentShortId: string): string {
104 return CONTENT_ATTR.replace(COMPONENT_REGEX, componentShortId);
105}
106
107export function shimHostAttribute(componentShortId: string): string {
108 return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId);

Callers 1

constructorMethod · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected