Skip to content

findComponent()

function findComponent(template, id):
| {
band: BandVisit;
component: ReportComponent;
}
| undefined;

Finds a component by id together with the band that contains it.

Parameter Type
template ReportTemplate
id string

| { band: BandVisit; component: ReportComponent; } | undefined