1.2.7 • Published 6 years ago
@advinow/wellness-report v1.2.7
WellnessReport
How to use
Add WellnessReportModule to your module.
I.e.
@NgModule({
...
imports: [
...
WellnessReportModule,
...
],
...
})Component is ready to be used in your template.
Inputs:
interface BloodPressure {
diastolic: number;
systolic: number;
}@Input() BloodPressure: BloodPressure;
@Input() HeartRate: number;
@Input() BloodOxygen: number;
@Input() Height: number;
@Input() Weight: number;
@Input() BirthDate: string;
@Input() Name: string;
@Input() ProfilePhotoSrc: string;<wellness-report
...
[Name]="'John Smith'"
...
></wellness-report>Language needs to be set in the WellnessReportService using the enum below:
export enum Lang {
en = 'en',
es = 'es'
}i.e. WellnessReportService.lang = Lang.es
1.2.7
6 years ago