Custom Event on state changes
App is capable of dispatching custom events which you can catch in order to perform certain action after the selections are made.
Following is the sample code to listen to the events.
This is not enabled by default for all stores, please reach out to us to enable it for your store.
Following is the sample code to listen to the events.
document.addEventListener('birdchime:schedule', function({ detail }) {
console.log('event details is....', detail)
})
This is not enabled by default for all stores, please reach out to us to enable it for your store.
Updated on: 11/05/2024
Thank you!