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

Function controlPath

packages/forms/src/directives/shared.ts:70–72  ·  view source on GitHub ↗
(name: string | null, parent: ControlContainer)

Source from the content-addressed store, hash-verified

68export const setDisabledStateDefault: SetDisabledStateOption = 'always';
69
70export function controlPath(name: string | null, parent: ControlContainer): string[] {
71 return [...parent.path!, name!];
72}
73
74/**
75 * Links a Form control and a Form directive by setting up callbacks (such as `onChange`) on both

Callers 4

_getPathMethod · 0.90
pathMethod · 0.90
pathMethod · 0.90
pathMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected