concept reactive API in category angular

appears as: reactive API
Angular Development with Typescript, Second Edition

This is an excerpt from Manning's book Angular Development with Typescript, Second Edition.

In the reactive API, the onSubmit() method doesn’t need arguments because you access the form values using your component’s myFormModel property.

Listing 11.6. Applying validators on blur using the reactive API
let telephone = new FormControl('',
           [{validators: Validators.minLength(10),    #1
              updateOn:'blur'});                      #2