jeffharrell / minicart

The minicart is a great way to improve your PayPal shopping cart integration.
MIT License
500 stars 209 forks source link

Amount change in cart dialog doesn't fire an event #259

Open aviemet opened 9 years ago

aviemet commented 9 years ago

When changing the amount of an item in the cart dialog box, no events are fired. Upon leaving the input, a higher amount should fire and add event and a lower amount should fire a remove event.

fabriziotappero commented 9 years ago

I agree. Is there any work around this?

gosteev commented 8 years ago

there is change event that fires when you manually change item amount

paypal.minicart.cart.on('change', function(event) {
  console.log(1);
});