UNPKG

moh-common-lib

Version:

A library of Angular components, services, and styles for B.C. Government Ministry of Health (MoH).

21 lines (20 loc) 731 B
import { FormGroup } from '@angular/forms'; import { Router } from '@angular/router'; import { AbstractBaseForm } from './abstract-base-form'; export declare abstract class AbstractReactForm extends AbstractBaseForm { protected router: Router; /** Access to the form elements for validation */ formGroup: FormGroup; /** * Constructor */ constructor(router: Router); /** * Determines if the Continue button is disabled on the form action bar * Can be overrided */ canContinue(): boolean; /** Runs the angular 'markAsTouched()' on all form inputs. */ protected markAllInputsTouched(fg?: FormGroup | FormGroup[]): void; private _markAllAsTouched; }