What I need to do is: When the event '
checkout_cart_save_after' is dispatched, get the cart data (sent in the event dispatch) with an observer.
Then i need to send this data to the browser (with JS) and be able to read it (get products, quantity and all stuff). Can anyone help me?
EDIT: I'm using Magento 2.1.