new FacetSummaryView()
Extends
- Backbone.View
Members
events
list of events for Backbone View
Methods
clearAllActiveFacets()
Clears all active facets that are stored under summary component
createHash(hashObj) → {String}
Prepares hash string based on hash object
Parameters:
Name | Type | Description |
---|---|---|
hashObj |
Object | Object created from hash parameters |
Returns:
hash as a string
- Type
- String
events()
Initializes the view by assigning events to the buttons and rendering component
initialize()
Initially sets data to model and watches events on which
view should be updated
Listens to Events:
- module:facetSummary.FacetSummaryView~event:change
removeFacet(event)
Removes selected facet and updates hash
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | Event object where stored clicked element |
render()
Renders view