Facet

This is the model behind the facet data for the searchpane widget. This search pane is typically used when integrating an external content source via a pluggable toolbar plugin. This external source can define facets to filter the content (eg price, category, brand, etc.)

Example
define([
  "blueconic/api/data/domain/Facet"
], function(Facet) {
  var facet = new Facet();
  // ...
});

Properties

id String

Unique id of the facet.

multiple Boolean

Boolean indicating if multiple values can be selected

name String

The readable name of the facet.

An array containing the values for this facet.