searchSort

Search sorting component functionality
Source:
Parameters:
Name Type Description
$ jQuery Instance of jQuery
document Document dom document object
Returns:
list of methods for working with search sort component
Type
Object

Classes

SortModel
SortView

Members

(static) api :Object.<Methods>

Source:
This object stores all public api methods
Type:
  • Object.<Methods>

Methods

(static) getFirstSortingOption(signature)

Source:
Returns direction of sorting
Parameters:
Name Type Description
signature String component signature

(static) init()

Source:
For each search sorting component on a page creates instance of "SortModel" and "SortView"