An entry completion object is defined to handle the auto completion function, it contains a list of words which are used to match with the user input given in the search entry. A subset of words in the list which match with the user input will be shown during input process.
- Define a search entry box.
- Define a entry completion object for the search entry box.
- Define event handler for matched completion.
- Define a custom match function for the completion: Match partial word of items in a list.
No comments:
Post a Comment