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

Class MyStateDir

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

Source from the content-addressed store, hash-verified

173 describe('host directive mapping', () => {
174 it('should bind to a host directive that maps state/stateChange to value/valueChange', () => {
175 @Directive()
176 class MyStateDir {
177 readonly state = model.required<string>();
178 }
179
180 @Component({
181 selector: 'custom-control',

Callers

nothing calls this directly

Calls 2

DirectiveInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected