导读:
拼写提示API可以用来在输入框里自动提示一个输入。数据显示的分离使得自动提示API程序库灵活而且易于修改,并且可以适用于不同的应用程序。UIAutoSuggest获得输入框和列表的输入,AbstractAutoSuggest 根据用户的交互将一列单词保持排序。同时数据是可以绑定的,这样就使得输入框内的数据可以和所提示的输入同步。
版权声明
示例和源代码参看
http://elromdesign.com/blog/Flex/API/AutoSuggest/
程序库的API文档
http://elromdesign.com/blog/Flex/API/asdoc/
AutoSuggest API can be used to display an Auto Suggest input box. The separation of the data and view is what makes AutoSuggestion API flexible and easy to modify and fit different application. The UIAutoSuggest gets TextInput and TileList and the AbstractAutoSuggest keep sorting the list of words based on user interaction, the data is bindable which allow the TileList and TextInput to be updates on the fly.
All source code contained on this page has been published under the MIT licence and is protected as stated therein.
To see an example and download source code:
http://elromdesign.com/blog/Flex/API/AutoSuggest/
To view the ASDOC of the API:
http://elromdesign.com/blog/Flex/API/asdoc/
本文转自
http://elromdesign.com/blog/2008/02/15/autosuggest/