API REFERENCE
addSection
Funnel / pyramid-only — add a section (stage). Returns its index.
Definition
addSection(section: FunnelSectionSpec | number, opts?: { insertAt?: number }): Promise<number>| Arguments | Type | Required |
|---|---|---|
section | FunnelSectionSpec | number | Required |
opts | { insertAt?: number } | Optional |
Return type: Promise<number>. Call the method after element registration and await its Promise result.
- FunnelSectionSpec
Type definition