jQuery.textcomplete is very customizable and allows developers to create custom auto-completion systems.
It allows them to setup a custom trigger mechanism, which can be any character and be used for suggesting smileys, tags, normal text, or even create a Twitter and GitHub-like @username mentioning system.
The developer is also in full control over what suggestions will appear in the drop-down suggestion list, taking content from a local or remote source.
And to customize the autocomplete's dropdown behavior even more, lots of callbacks are included, all detailed in the plugin's README file.
A simple demo is included with the jQuery.textcomplete package.
What is new in this release:
- Support giving a function which returns a regexp to match option for dynamic matching.
What is new in version 0.7.0:
- Support giving a function which returns a regexp to match option for dynamic matching.
What is new in version 0.5.1:
- Support giving a function which returns a regexp to match option for dynamic matching.
What is new in version 0.4.0:
- Support giving a function which returns a regexp to match option for dynamic matching.
What is new in version 0.3.2:
- Add IETextarea adapter which supports IE8.
- Add idProperty option.
- Add adapter option.
- Rename Input as Adapter.
What is new in version 0.2.4:
- Fixed horizontal position on contentEditable elements.
What is new in version 0.2.1:
- Support appendTo option.
- header and footer supports a function.
- Remove textcomplate-wrapper element.
What is new in version 0.2.0:
- contentEditable support.
What is new in version 0.1.4.1:
- Support placement option.
- Emacs-style prev/next key bindings.
- Replay searchFunc for the last term on slow network env.
- Several bugfixes.
Requirements:
- JavaScript enabled on client side
- jQuery 1.7 or higher
Komentáře nebyl nalezen