Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Add autocomplete functionality to input elements

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Demo
Octocat-spinner-32 Source
Octocat-spinner-32 README.md
Octocat-spinner-32 package.yml
README.md

MooComplete

Add autocomplete functionality to input elements.

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

ScreenshotScreenshot

Something went wrong with that request. Please try again.