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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?