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

Function setInputValue

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

Source from the content-addressed store, hash-verified

3652 }
3653
3654 const setInputValue = async (value: number) => {
3655 input.value = value;
3656 dispatchEvent(input, 'input');
3657 await fixture.whenStable();
3658 };
3659 const setValidatorValues = async (values: minmax) => {
3660 fixture.componentInstance.minlen = values.minlength;
3661 fixture.componentInstance.maxlen = values.maxlength;

Callers 1

Calls 2

dispatchEventFunction · 0.90
whenStableMethod · 0.65

Tested by

no test coverage detected