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

Function setInputValue

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

Source from the content-addressed store, hash-verified

3646 }
3647
3648 const setInputValue = async (value: number) => {
3649 input.value = value;
3650 dispatchEvent(input, 'input');
3651 await fixture.whenStable();
3652 };
3653 const setValidatorValues = async (values: minmax) => {
3654 fixture.componentInstance.minlen = values.minlength;
3655 fixture.componentInstance.maxlen = values.maxlength;

Callers 1

Calls 2

dispatchEventFunction · 0.90
whenStableMethod · 0.65

Tested by

no test coverage detected