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.
If you are facing issues with the setup like the slot picker not appearing or the slots not working as per your requirement. We provide setup assistance for free. Please ping us via in-app chat bubble or mail us at support@birdchime.com for setup assistance.
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.
Need Help?
If you are facing issues with the setup like the slot picker not appearing or the slots not working as per your requirement. We provide setup assistance for free. Please ping us via in-app chat bubble or mail us at support@birdchime.com for setup assistance.
Updated on: 12/04/2023
Thank you!