Constructor
new SorterView()
- Since:
- Source:
Extends
Members
className :string
The HTML classes to use for this view's element
Type:
- Source:
events :Object
The events this view will listen to and the associated function to
call.
Type:
- Source:
A reference to the
SolrResults collection that this sorter
displays and controls.
Type:
- Source:
tagName :string
The HTML tag to use for this view's element
Type:
- Source:
Methods
hide()
Hides the view
- Since:
- Source:
hideIfNoResults()
Hides the view if there are no search results.
- Since:
- Source:
render()
Renders the view
- Source:
setSort(e)
Sets the sort order on the
SolrResults when the sort is changed
in the UI.
Parameters:
Name |
Type |
Description |
e |
Event
|
|
- Source:
show()
Shows the view
- Since:
- Source: