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

Class MyStateDir

packages/forms/signals/test/web/form_field.spec.ts:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 describe('host directive mapping', () => {
143 it('should bind to a host directive that maps state/stateChange to value/valueChange', () => {
144 @Directive()
145 class MyStateDir {
146 readonly state = model.required<string>();
147 }
148
149 @Component({
150 selector: 'custom-control',

Callers

nothing calls this directly

Calls 2

DirectiveInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected