API REFERENCE

getRunningTotal

The waterfall's running total after its last step (the value a total bar stands to); undefined on any other type.

정의

typescript
getRunningTotal(): Promise<number | undefined>

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