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) 960 B
import { BehaviorSubject, Subject } from 'rxjs'; export declare const DefaultSubmitLabel: string; export declare class ContainerService { $isLoadingSubject: BehaviorSubject<boolean>; $submitLabelSubject: BehaviorSubject<string>; $useDefaultColorSubject: BehaviorSubject<boolean>; $continueBtnSubject: Subject<null>; $isLoading: import("rxjs").Observable<boolean>; $submitLabel: import("rxjs").Observable<string>; $continueBtn: import("rxjs").Observable<null>; $useDefaultColor: import("rxjs").Observable<boolean>; constructor(); /** If no parameter is passed, the default label is 'Continue' */ setSubmitLabel(label?: string): void; /** If no parameter is passed, it uses the default color */ setUseDefaultColor(defaultColor?: boolean): void; /** If no parameter is passed, it sets the spinner active */ setIsLoading(isLoading?: boolean): void; submitButtonClicked(): void; }