The callback will be called each time the event ‘name’ occurs. If ‘name’ has already occurred, the callback will be called once immediately (no matter how many times ‘name’ previously occurred).
The callback will be called once, when ‘name’ first occurs. If ‘name’ has already occurred, the callback will be called immediately, and never again.
If you no longer want to receive callbacks for an event, you can unbind it, by specifying the same name and callback as you used when binding. Note, that it must be the same instance of the function that was bound.
Event-name have the following options:
Triggered before we look for product information on you site.
Triggered when we have collected the URL of the current page, and found product information using cached selectors
Triggered when we have finished looking for product information. (It will be triggered regardless of whether we actually found any info or not)
Triggered when the script has retrieved user information from our backend.
Triggered when the wish list panel is ready to be displayed. (This won’t be triggered if you have disabled the wish list panel)