handlich vaccines in UI
This commit is contained in:
15
docs/SymptomsCausedByVaccines/js/PrrBySymptomTableView.js
Normal file
15
docs/SymptomsCausedByVaccines/js/PrrBySymptomTableView.js
Normal file
@@ -0,0 +1,15 @@
|
||||
class PrrBySymptomTableView {
|
||||
|
||||
#prrBySymptomTable;
|
||||
|
||||
constructor(prrBySymptomTableElement) {
|
||||
this.#prrBySymptomTable = new PrrBySymptomTable(prrBySymptomTableElement);
|
||||
this.#prrBySymptomTable.initialize();
|
||||
}
|
||||
|
||||
displayPrrBySymptomTable4Vaccine(vaccine) {
|
||||
PrrByVaccineProvider
|
||||
.getPrrBySymptom(vaccine)
|
||||
.then(prrBySymptom => this.#prrBySymptomTable.display(prrBySymptom));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user