toggle (cart)

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>