new TypeaheadSearchRenderer()
This renderer creates a bootstrap input-group for input
and a search button
- Source:
Extends
- plana.ui.ac.AutoCompleteRenderer
Methods
-
createDom(dom) → {Element}
-
This function creates the DOM structure for the typeahead component and returns it
Parameters:
Name Type Description dom
goog.dom.DomHelper - Source:
Returns:
- Type
- Element
-
getInput(component, dom) → {HTMLInputElement}
-
This function returns the text input
Parameters:
Name Type Description component
goog.ui.Component dom
goog.dom.DomHelper - Source:
Returns:
- Type
- HTMLInputElement
-
getSearchButton(component, dom) → {Element}
-
This function returns the search button
Parameters:
Name Type Description component
goog.ui.Component dom
goog.dom.DomHelper - Source:
Returns:
- Type
- Element