Add a callback on page load If the page is already loaded, the callback will be called immediately and return undefined. Otherwise, a descructable callback will be returned that can be used to remove the callback.
const callback = vevet.pageLoad.onLoad(() => console.log('Page loaded'));
callback?.remove()
Get if the page is loaded