UNPKG

moh-common-lib

Version:

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

25 lines (24 loc) 862 B
import { OnInit, EventEmitter } from '@angular/core'; /** * FormSubmitBar is similar to FormActionBar, but it is meant to be used with * (ngSubmit) on the form. Make sure to enclose FormSubmitBar inside of the form * in question. */ export declare class FormSubmitBarComponent implements OnInit { submitLabel: string; canContinue: boolean; isLoading: boolean; defaultColor: boolean; btnClick: EventEmitter<any>; /** * Is the component nested inside a form, and not properly full-width in a * page layout? We add negative margins to space out. * * Currently tihs only works for the 'blank' layout type for the page * framework, but would be easy to extend by adding more negative classes as * need be. */ increaseWidth: boolean; constructor(); ngOnInit(): void; }