![]() UP/ DOWN: Open the menu, if the minLength has been met.ĭefines the data to use, must be specified.When the menu is closed, the following key commands are available: It's generally a bad idea to display so many items that users need to page. PAGE UP/ PAGE DOWN: Scroll through a page of items (based on height of menu).TAB: Select the currently focused item, close the menu, and move focus to the next focusable element.ENTER: Select the currently focused item and close the menu. ![]() If on the input, move focus to the first item. If on last item, move focus to the input. If on the input, move focus to last item. If on first item, move focus to the input. ![]() When the menu is open, the following key commands are available: To find out more about customizing the data source, see the documentation for the source option. You can pull data in from a local or remote source: Local is good for small data sets, e.g., an address book with 50 entries remote is necessary for big data sets, such as a database with hundreds or millions of entries to select from. Autocomplete can also be used to populate associated information, such as entering a city name and getting the zip code. This can be used to choose previously selected values, such as entering tags for articles or entering email addresses from an address book. By entering more characters, the user can filter down the list to better matches. When typing in the autocomplete field, the plugin starts searching for entries that match and displays a list of values to choose from. Any field that can receive input can be converted into an Autocomplete, namely, elements, elements, and elements with the contenteditable attribute. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |