MCPcopy Index your code
hub / github.com/angular/angular / normalizeDebugBindingName

Function normalizeDebugBindingName

packages/core/src/ng_reflect.ts:50–54  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

48}
49
50export function normalizeDebugBindingName(name: string) {
51 // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers
52 name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));
53 return `ng-reflect-${name}`;
54}
55
56const CAMEL_CASE_REGEXP = /([A-Z])/g;
57

Callers 1

setNgReflectPropertyFunction · 0.90

Calls 2

camelCaseToDashCaseFunction · 0.70
replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…