Files
HowBadIsMyBatch/docs/SymptomsCausedByVaccines/js/PrrByVaccineTable.js
frankknoll 91c7bebeb5 refactoring
2023-10-15 15:44:16 +02:00

26 lines
572 B
JavaScript

class PrrByVaccineTable {
#delegate;
constructor(tableElement) {
this.#delegate = new PrrByKeyTable({
tableElement: tableElement,
keyColumnName: 'Vaccine',
prrColumnName: 'Proportional Reporting Ratio',
shallMarkRowIfPrrTooHigh: true
});
}
initialize() {
this.#delegate.initialize();
}
display(prrByVaccine) {
this.#delegate.display(prrByVaccine);
}
getDisplayedTableAsCsv(heading) {
return this.#delegate.getDisplayedTableAsCsv(heading);
}
}