Listening for Rebuy Reorder LandPage Event's
Below are the events that trigger within the Rebuy Reorder Landing Page.
Init
The 'init' event is the first event that is triggered in the Rebuy Reorder lifecycle.
document.addEventListener('rebuy:reorderLandingPage.init', (event) => {
console.log('rebuy:reorderLandingPage.init event', event.detail);
});
Before Ready
Triggered before the rebuy reorder landing page is displayed and ready.
document.addEventListener('rebuy:reorderLandingPage.beforeReady', (event) => {
console.log('rebuy:reorderLandingPage.beforeReady event', event.detail);
});
Ready
Triggered once the rebuy reorder landing page has fully initialized and everything is ready to run.
document.addEventListener('rebuy:reorderLandingPage.ready', (event ) => {
console.log('rebuy:reorderLandingPage.ready event', event.detail);
});