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

Class MyStateDir

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

DirectiveInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected