We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #2694638
JS Event for when app has loaded?
Closed

Comments

  • Jim started the conversation

    Hi,

    I'd like to do some custom JS on the Ameilia front-end after it loads.

    setTimeOut is often unreliable. Is there an event to watch/listen for when the app has loaded?

  • [deleted] replied

    Hi Jim,

    These are the JS hooks available in Amelia, that are triggered depending on the view:

    window.beforeAddToCalendarLoaded()
    window.beforeBookingLoaded()
    window.beforeSearchLoaded()
    window.beforeSearchFiltered()
    window.afterSearchFiltered()
    window.beforeConfirmedBooking()
    window.beforeCatalogLoaded()
    window.afterSelectCatalogCategory(object_category)
    window.beforeCatalogCategoryLoaded(object_category)
    window.beforeCatalogServiceLoaded(object_category, object_service)
    window.afterSearchActivateService(object_appointment, object_serviceActive)
    window.afterSearchGoToSecondStep(object_appointment, object_serviceActive)
    window.afterBookingSelectDateAndTime(object_appointment, object_serviceId, object_providerId, object_locationId)
    window.afterBookingSelectService(object_appointment, object_serviceId, object_providerId, object_locationId)
    window.beforeConfirmBookingLoaded(object_appointment, object_service, object_provider, object_location)
    window.afterConfirmBooking(object_appointment, object_service, object_provider, object_location)

     So , you can try using one of these to achieve what you need. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.



  • Jim replied

    Thank you, very helpful.

    Since beforeCatalogCategoryLoaded exists, may I also request afterCatalogCategoryLoaded?

  • [deleted] replied

    You are welcome, Jim. 

    You can suggest it as a feature request here, and I will add it to our feeture requests so it can be considered for implementation in the future. But for now , it isn't available, and I can't say for sure if and when it could be implemented, unfortunately. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.


  • Jim replied

    Thanks very much, I have requested it.

  • [deleted] replied

    You are welcome, Jim.

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.