getOption (search and click history)

Description

Get current configuration of the history widget.

Usage

To get all settings.

var flbSessionHistory = new Funnelback.SessionHistory({collection: 'my-collection'});
flbSessionHistory.getOption();

To get specific setting pass as method argument name of setting.

var flbSessionHistory = new Funnelback.SessionHistory({collection: 'my-collection'});
flbSessionHistory.getOption('collection'); // Will return 'my-collection'