devconcept / ng-shopping-cart

🛒 An Angular component library to create shopping carts
https://devconcept.github.io/ng-shopping-cart/
MIT License
45 stars 53 forks source link

How can I get the current and detect quantity if it changed? any of item? #7

Open kapil-ropani opened 5 years ago

kapil-ropani commented 5 years ago

Issue checklist

I'm submitting a...

Environment

Angular version: major.minor.patch 7.2

NgShoppingCart version: major.minor.patch 1.0.0

Browser: Name, Platform, Version Chrome 76.0.3809.100, Desktop Platform: Name, Version Windows Node version: major.minor.patch 10.16

Current behavior

I'm not able to get the quantity of item and detect quantity when it changes.

Expected behavior

It should return the quantity in numbers and also emit the changes

Steps to reproduce

devconcept commented 5 years ago

Are you referring to change a particular item's quantity or the total number of items in the cart?