continuing

This commit is contained in:
frankknoll
2023-11-07 12:21:15 +01:00
parent a16478d225
commit 3d5f049965
9 changed files with 459 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
class PrrByVaccineTableView {
#delegate;
constructor(prrByVaccineTableElement, downloadPrrByVaccineTableButton) {
this.#delegate = new PrrByKeyTableView(
this.#createPrrByVaccineTable(prrByVaccineTableElement),
downloadPrrByVaccineTableButton,
'Symptom',
PrrByVaccineProvider.getPrrByVaccine);
}
displayPrrByVaccineTable4Symptom(symptom) {
this.#delegate.displayPrrByKeyTable4Value(symptom);
}
#createPrrByVaccineTable(tableElement) {
return new PrrByKeyTable({
tableElement: tableElement,
keyColumnName: 'Vaccine',
prrColumnName: 'Proportional Reporting Ratio',
shallMarkRowIfPrrTooHigh: true
});
}
}