Constructor
new AutocompleteMenuCustom(autocomplete)
Parameters:
Name | Type | Description |
---|---|---|
autocomplete |
Object | the ui-autocomplete object |
Methods
_blur(event, autocompleteUi)
Bind the bur event on the search input
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | ui-autocomplete event |
autocompleteUi |
Object | ui-autocomplete object |
_isFirstItem()
Check if the selected item is the first item
_isLastItem()
Check if the selected item is the last item
_move(direction, filter, event)
Bind move event on the instant search result
Parameters:
Name | Type | Description |
---|---|---|
direction |
String | The direction of event |
filter |
String | Next or Prev |
event |
Event | The ui-autocomplete event |
init()
Initialize the AutocompleteMenuCustom