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

Class MyComp

packages/core/test/acceptance/property_binding_spec.ts:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96 it('should bind to properties whose names do not correspond to their attribute names', () => {
97 @Component({
98 template: '<label [for]="forValue"></label>',
99
100 changeDetection: ChangeDetectionStrategy.Eager,
101 })
102 class MyComp {
103 forValue?: string;
104 }
105
106 const fixture = TestBed.createComponent(MyComp);
107 const labelNode = fixture.debugElement.query(By.css('label'));

Callers

nothing calls this directly

Calls 5

ComponentInterface · 0.90
InputInterface · 0.90
triggerFunction · 0.90
stateFunction · 0.90
styleFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…