new SearchResultView()
- Source:
Extends
- Backbone.View
Members
events
- Source:
list of events for Backbone View
Methods
initialize()
- Source:
Initially sets data to model and watches events on which
view should be updated
Listens to Events:
- module:searchResults.SearchResultModel~event:change:loadingInProgress
- module:searchResults.SearchResultModel~event:change:loadingMoreInProgress
- module:searchResults.SearchResultModel~event:change:resultData
- module:searchResults.SearchResultModel~event:change:resultDataMore
- module:XA.component.search.vent~event:add-variant-class
- module:XA.component.search.vent~event:loadMore
- module:XA.component.search.vent~event:my-location-coordinates-changed
loading()
- Source:
Manage 'loading-in-progress' css class
loadingMore()
- Source:
Manage 'loading-more-in-progress' css class
poiClick(e)
- Source:
Renders view
Parameters:
Name | Type | Description |
---|---|---|
e |
Event | Event object that contains target poi elment |
Fires:
- XA.component.search.vent#event:center-map
render()
- Source:
Renders view
renderPart()
- Source:
Renders search result list