Sistema di prenotazione embeddabile • Embeddable booking system
// Embed the widget in your page
<div id="booking-widget"></div>
<script src="https://cdn.growflow.studio/booking-widget.js"></script>
<script>
const widget = new BookingWidget({
container: '#booking-widget',
embedCode: 'your-embed-code',
apiUrl: 'http://localhost:8007/api/v1',
locale: 'it',
onBookingComplete: (booking) => {
console.log('Booking completed:', booking);
}
});
widget.mount();
</script>
GrowFlow Booking © 2024 • Test Page