pageOnLoad should return a promise that resolves when all data is loaded
tracyhenry opened this issue · 0 comments
tracyhenry commented
so that embedding APIs such as getRenderData
can be chained to that promise, so that it's called only after data is loaded.
similarly, onJumpEnd
listeners should be called when data is loaded as well