Jump to content

Is any in Javascript prestashop.on event synchronous?


Josiah maybe

Recommended Posts

I am trying for when a built in prestashop.on thing is triggerred, synchronously do some check. Like event to prestashop.on as triggerred to like my code to next step, no running code other than that between steps. 

https://devdocs.prestashop-project.org/8/themes/reference/javascript-events/

Maybe in updateAddressForm or changedCheckoutStep. I would also reload for rejection if needed. Like my question is, is prestashop.on synchronous like that? I know that on country change is an event thing. All as per one might be maybe or might not be maybe, maybe or maybe not, maybe.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...