Class: DefaultView

DefaultView

Searches an array of records

Constructor

new DefaultView(options)

Parameters:
Name Type Description
options Object DefaultView expects these properties:
Properties
Name Type Description
input string Name of DOM container in which to draw the input field
placeholder string Place holder text displayed in the empty search input field
Source:
Example
var view = new Septima.Search.DefaultView(
  {
    input : 'septimasearch',
    placeholder : 'Search'
  });

Extends

Methods

blur()

This method MAY be implemented
Overrides:
Source:

doTextSearch()

This method MUST be implemented
Overrides:
Source:

draw()

This method MUST be implemented
Overrides:
Source:

error()

This method MAY be implemented
Inherited From:
Source:

setResults()

This method MUST be implemented
Overrides:
Source:

setSuggestions()

This method MUST be implemented
Overrides:
Source:

showFixedText()

Display a fixed text which can be closed by the user. When the text is closed the hidFunction will be called
Parameters:
Name Type Description
text. string Text to be displayed in the search box
hideFunction. function Function to call when user closes the text.
Source: