smootify:cart_closed
The smootify:cart_closed event.
New in 2.0.
Listen
window.Smootify = window.Smootify || [];
window.Smootify.push((api) => {
api.on("cart_closed", (payload) => {
// …
});
});Payload
{ element: HTMLElement }Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.
What changed