simpleCart(js)

items
Items:
Total:

'load' Event

The ‘load’ event is triggered after the contents of the cart are loaded from localStorage.  No parameters are passed.

simpleCart.bind( 'load' , function(){
  console.log( "simpleCart has loaded " + simpleCart.quantity() + " items from from localStorage" ); 
});

 

Comments

  1. There are no comments for this entry yet.
Commenting is not available in this channel entry.