Home

namespace
ml-chiclets

Source: directives/ml-chiclets.directive.js:4

angular element directive; displays chiclets.

attributes:

  • activeFacets: a reference to the activeFacets property of MLSearchContext
  • toggle: a reference to a function that will select or clear facets based on their state. Invoked with facet (name) and value parameters. This function should invoke mlSearch.toggleFacet(facetName, value).search()
  • template: optional. A URL referencing a template to be used with the directive. If empty, the default bootstrap template will be used.
  • truncate: optional. The length at which to truncate the facet display. Defaults to 20.

Example:

<ml-chiclets active-facets="ctrl.mlSearch.activeFacets" toggle="ctrl.toggleFacet(facet, value)"></ml-chiclets>

Generated by JSDoc 3.3.3 on February 11, 2016.