hide (cart)

Description

Manually close the cart widget.

Usage

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

Examples

<button class="btn btn-link pull-right" onclick="flbSessionCart.hide()">
  <small class="text-muted"><span class="glyphicon glyphicon-minus"></span> Hide</small>
</button>

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