Method 2: Subscribe to the Calculator event
Last updated
Last updated
The calculator also fires an event that advanced customers can use to gain better control and access the data from the calculator.
To use this method:
Login, open your desired calculator, and click "SHOW ADVANCED SETTING":
Listen to the following event:
window.addEventListener('Booking', (event) => console.log(event));
The event object contains all the detail of the calculation. Example: