toggle (cart)

ON THIS PAGE

Description

Manually toggle the cart widget.

Usage

var flbSessionCart = new Funnelback.SessionCart({collection: 'my-collection'});
flbSessionCart.toggle();

Examples

<button class="btn btn-link pull-right" onclick="flbSessionCart.toggle()">
  <small class="text-muted">Toggle</small>
</button>

<script>
var flbSessionCart = new Funnelback.SessionCart({collection: 'my-collection'});
</script>

© 2015- Squiz Pty Ltd