You are here

protected property FacetapiWidget::$jsSettings in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 plugins/facetapi/widget.inc \FacetapiWidget::jsSettings
  2. 7 plugins/facetapi/widget.inc \FacetapiWidget::jsSettings

The widget's JavaScript settings that are passed to drupal_add_js().

For widgets that need make configurations available toe JavaScript files, this is the best method for doing so. An example is the "soft limit" for facets rendered as a list of links which uses jQuery to limit the list on the client side.

Type: array

File

plugins/facetapi/widget.inc, line 85
Base widget plugin class and helper functions for facet sorting.

Class

FacetapiWidget
Abstract class extended by widget plugins.

Code

protected $jsSettings = array();