jquery-textcomplete

DEPRECATED: use yuku/textcomplete

  • 所有者: yuku/textcomplete
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

jquery-textcomplete is no longer maintained. Please use yuku-t/textcomplete instead.

Autocomplete for Textarea

npm version
Bower version
Analytics

Introduces autocompleting power to textareas, like a GitHub comment form has.

Demo

Demo.

Synopsis

$('textarea').textcomplete([{
    match: /(^, \b)(\w{2,})$/,
    search: function (term, callback) {
        var words = ['google', 'facebook', 'github', 'microsoft', 'yahoo'];
        callback($.map(words, function (word) {
            return word.indexOf(term) === 0 ? word : null;
        }));
    },
    replace: function (word) {
        return word + ' ';
    }
}]);

Dependencies

  • jQuery (>= 1.7.0) OR Zepto (>= 1.0)

Documents

See doc dir.

License

Licensed under the MIT License.

Contributors

Patches and code improvements were contributed by:

https://github.com/yuku-t/jquery-textcomplete/graphs/contributors

主要指标

概览
名称与所有者yuku/textcomplete
主编程语言TypeScript
编程语言JavaScript (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2013-08-24 06:22:06
推送于2023-12-11 03:25:12
最后一次提交
发布数84
最新版本名称v0.1.13 (发布于 )
第一版名称jquery-v0.0.2 (发布于 )
用户参与
星数1.7k
关注者数61
派生数299
提交数504
已启用问题?
问题数226
打开的问题数13
拉请求数92
打开的拉请求数0
关闭的拉请求数43
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?