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

Function setInputValue

packages/forms/test/reactive_integration_spec.ts:3639–3643  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

3637 }
3638
3639 const setInputValue = async (value: number) => {
3640 input.value = value;
3641 dispatchEvent(input, 'input');
3642 await fixture.whenStable();
3643 };
3644 const setValidatorValues = async (values: minmax) => {
3645 fixture.componentInstance.minlen.set(values.minlength);
3646 fixture.componentInstance.maxlen.set(values.maxlength);

Callers 1

Calls 2

dispatchEventFunction · 0.90
whenStableMethod · 0.65

Tested by

no test coverage detected