API REFERENCE

addSection

Funnel / pyramid-only — add a section (stage). Returns its index.

정의

typescript
addSection(section: FunnelSectionSpec | number, opts?: { insertAt?: number }): Promise<number>
인수타입필수 여부
sectionFunnelSectionSpec | number필수
opts{ insertAt?: number }선택

반환 타입: Promise<number>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.