Adds an event handler that runs when the dataset is ready.
The onReady()
function allows you to optionally perform actions
right after the dataset has loaded its data from the collection and
updated all connected page elements with their corresponding values.
Notes:
onReady
event only fires after the page onReady
event fires.onReady()
function has the same functionality as the onReadyAsync()
function. They differ in that onReady()
is callback-based, whereas onReadyAsync()
is promise-based.
handler(): void
The ready handler.