Until further notice we will be entirely focused on improvements to our API and ecommerce integrations
There are a number of subscribe-able events one can attach handlers to. To attach a handler one merely passes a function/callback into the
onEvent function fires when any change occurs in the widget. Below is an example demonstrating some of the events one can attach to.
onCartChange function fires when a change has occurred to the cart–be it an item being added/removed from the cart or an item changing within the cart.
onOpen function fires… when the widget opens. This is useful for instance if you want to change the styling of your page for when the widget is open.
onClose function fires… when the widget closes. This is also useful if you want to change the styling of your page for when the widget is closed.
onClose function also allows you to control if the widget should actually close– via whether it returns true or false.
It seems that you do not have a default email client set up in your browser. Don’t worry, you can still contact us – Simply copy the address below to your email client of choice.