API Docs for: 1.0.0
Show:

eZ.SearchView Class

Extends Y.eZ.TemplateBasedView
Module: ez-searchview

The search view

Constructor

eZ.SearchView

()

Methods

_fireSearchRequest

(
  • searchString
  • limit
)
protected

Fire the searchRequest with a searchString and a limit in params

Parameters:

  • searchString String

    The string used to search

  • limit Integer

    The limit of result to show

_renderSearchListView

() private

Renders the view which handle the list results

_setUserSearchString

(
  • e
)
protected

Submit form event handler, will set the userSearchString

Parameters:

_uiSetMinHeight

() private

Sets the minimum height of the view

Attributes

limit

Number

The limit of the results

limit

Number

The number of elements that should increase the limit after loading more contents

searchListView

ez.SearchListView

The view which handle the result list

searchResultCount

Number

The number of item returned by the searchRequest

searchResultList

Array

The search result list containing the items to display

searchString

String

The search string used for the search request

Default: true

userSearchString

Boolean readonly

The search string the user wants to search

Default: true