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

Function shimContentAttribute

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

Source from the content-addressed store, hash-verified

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

Callers 1

constructorMethod · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected