Class: searchDirective directive:ngeoSearch

ngeo search.module:directive namespace~ngeo.search.searchDirective

new searchDirective()

Provides the "ngeoSearch" directive, which uses Twitter's typeahead component to change an input text into a search field.

Example:

 <input type="text"
   ngeo-search="ctrl.typeaheadOptions"
   ngeo-search-datasets="ctrl.typeaheadDatasets"
   ngeo-search-listeners="crtl.typeaheadListeners">

See our live example: ../examples/search.html

HTML attributes:
Name Type Description
ngeo-search The options.
ngeo-search-datasets The sources datasets.
ngeo-search-listeners The listeners.
Returns:
angular.Directive

Directive Definition Object.

Members

(static, non-null) module: angular.Module