Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.86 KB

README.md

File metadata and controls

55 lines (39 loc) · 1.86 KB

About

TextExt is a plugin for jQuery which is designed to provide functioanlity such as tag input and autocomplete.

The core design principle behind TextExt is modularity and extensibility. Each piece of functionality is separated from the main core and can act individually and together with other plugins.

Modular design allows you easily turn a standard HTML text input into a wide range of modern, taylored to your needs data inputs without bloating your source code and slowing down your site with the code that you aren't using.

A wide number of plugins are available including Tags, Autocomplete, Filter, Ajax as well as a few which are purely asthetical like Focus.

Please refer to the manual for the full API documentation and examples.

Example

<textarea id="textarea" rows="1"></textarea>

<script type="text/javascript">
    $('#textarea').textext({
        plugins : 'tags prompt focus autocomplete ajax',
        tagsItems : [ 'jquery', 'plugin', 'tags', 'autocomplete' ],
        prompt : 'Add one...',
        ajax : {
            url : '/manual/examples/data.json',
            dataType : 'json',
            cacheResults : true
        }
    });
</script>

How To Use

The steps to using TextExt are as follows:

  1. Specify which plugins you need via the plugins option
  2. Configure each plugin individually if necessary
  3. Enjoy!

License

The TextExt component is released under the open source commercial license. This means that while the source is open to anyone for viewing and modification, you have to purchase a commercial license if you intend to use TextExt.

All source contributions automatically become part of the TextExt source if accepted and the original author shall give up any further claim.