namespaceml-chiclets
            Source: directives/
angular element directive; displays chiclets.
attributes:
- activeFacets: a reference to the- activeFacetsproperty of MLSearchContext
- toggle: a reference to a function that will select or clear facets based on their state. Invoked with- facet(name) and- valueparameters. 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>