UNPKG

moh-common-lib

Version:

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

19 lines (18 loc) 630 B
import { NgForm } from '@angular/forms'; import { Router } from '@angular/router'; import { AbstractBaseForm } from './abstract-base-form'; export declare abstract class AbstractForm extends AbstractBaseForm { protected router: Router; /** Access to the form elements for validation */ form: NgForm; /** * Constructor */ constructor(router: Router); /** * Determines if the Continue button is disabled on the form action bar */ canContinue(): boolean; /** Runs the angular 'markAsTouched()' on all form inputs. */ protected markAllInputsTouched(): void; }