MCPcopy
hub / github.com/angular/angular / provideNgReflectAttributes

Function provideNgReflectAttributes

packages/core/src/ng_reflect.ts:37–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 * @publicApi
36 */
37export function provideNgReflectAttributes(): EnvironmentProviders {
38 const providers =
39 typeof ngDevMode === 'undefined' || ngDevMode
40 ? [
41 {
42 provide: NG_REFLECT_ATTRS_FLAG,
43 useValue: true,
44 },
45 ]
46 : [];
47 return makeEnvironmentProviders(providers);
48}
49
50export function normalizeDebugBindingName(name: string) {
51 // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers

Callers 6

i18n_spec.tsFile · 0.90
defer_spec.tsFile · 0.90
getStandaloneBootstrapFnFunction · 0.90

Calls 1

makeEnvironmentProvidersFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…