descriptionDebian packaging for ‘jquery-textcomplete’
homepage URLhttps://tracker.debian.org/pkg/jquery-textcomplete
ownerben+repo.or.cz@benfinney.id.au
last changeSat, 3 Sep 2016 02:31:41 +0000 (3 12:31 +1000)
content tags
add:
README.md

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

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

shortlog
2016-09-03 Ben FinneyMerge tag 'upstream/1.7.1'master
2016-09-03 Ben FinneyImport source for “1.7.1” from upstream tarball.upstreamupstream/1.7.1
2016-09-02 Ben FinneyInitial empty commit.initial
tags
8 years ago upstream/1.7.1 Upstream version 1.7.1
8 years ago initial
heads
8 years ago packaging
8 years ago upstream
8 years ago pristine-tar
8 years ago master