API REFERENCE

updateSection

Funnel / pyramid-only — patch a section.

Definition

typescript
updateSection(idOrIndex: string | number, patch: Partial<FunnelSectionSpec>): Promise<boolean>
ArgumentsTypeRequired
idOrIndexstring | numberRequired
patchPartial<FunnelSectionSpec>Required

Return type: Promise<boolean>. Call the method after element registration and await its Promise result.