Namespace: keyotiCustomDataSort

keyotiCustomDataSort

Handles result sorting based on Custom Data.

Members

(static) meta :Object

Meta information read from definition comment in the HTML
Type:
  • Object

(static) relevanceText :String

The text to use for 'relevance' sort by option
Type:
  • String

(static) selectedSortBy :String

The selected sort by option
Type:
  • String

Methods

(static) createChildControls()

Create child controls (SELECT element)

(static) getSortBy()

Gets the selected value from the SELECT element.

(static) init()

Read meta data about data sort control from JSON comment.

(static) setSortBy()

Sets the selected value of the SELECT element.