FacetSummaryView

facetSummary. FacetSummaryView

new FacetSummaryView()

Source:

Extends

  • Backbone.View

Members

events

Source:
list of events for Backbone View

Methods

clearAllActiveFacets()

Source:
Clears all active facets that are stored under summary component

createHash(hashObj) → {String}

Source:
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()

Source:
Initializes the view by assigning events to the buttons and rendering component

initialize()

Source:
Initially sets data to model and watches events on which view should be updated
Listens to Events:
  • module:facetSummary.FacetSummaryView~event:change

removeFacet(event)

Source:
Removes selected facet and updates hash
Parameters:
Name Type Description
event Event Event object where stored clicked element

render()

Source:
Renders view