MooComplete 1.11

Add autocomplete functionality to input elements.



Details

Author
Erik Dubbelboer
Current version
1.11
GitHub
ErikDubbelboer/MooComplete
Downloads
38021
Category
Forms
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_:
    • Core/Element.Event
    • Core/Element.Style

How to use

Add MooComplete:

new MooComplete('idofelementhere', {
  list: ['list', 'of', 'elements', 'to', 'use', 'to', 'suggest'], // elements to use to suggest.
  mode: 'text' // suggestion mode (tag | text)
  size: 5 // number of elements to suggest
});

This turns the <input id="idofelementhere"> into a MooComplete widget.

You can also pass functions to render the elements in the list. For more documentation on this please check the source and the advanced example


Example

You can find an example at http://dubbelboer.com/MooComplete/


Screenshots


Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus