findComponent()
function findComponent(template, id): | { band: BandVisit; component: ReportComponent;} | undefined;Finds a component by id together with the band that contains it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
template |
ReportTemplate |
id |
string |
Returns
Section titled “Returns”| {
band: BandVisit;
component: ReportComponent;
}
| undefined