API REFERENCE
addSection
Funnel / pyramid-only — add a section (stage). Returns its index.
정의
addSection(section: FunnelSectionSpec | number, opts?: { insertAt?: number }): Promise<number>| 인수 | 타입 | 필수 여부 |
|---|---|---|
section | FunnelSectionSpec | number | 필수 |
opts | { insertAt?: number } | 선택 |
반환 타입: Promise<number>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
- FunnelSectionSpec
타입 정의