导读:
拼写提示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/
本文介绍了一种自动提示API,该API能够实现输入框内的自动补全功能。通过数据与视图的分离,使得该API具备高度灵活性及易修改性,能够适配多种应用需求。具体而言,UIAutoSuggest负责获取文本输入框和列表的数据,而AbstractAutoSuggest则根据用户的交互动态排序词汇列表。

1558

被折叠的 条评论
为什么被折叠?



