Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

angular-simple-autocomplete-directive

alexneamtu9MIT1.1.1

Simple AngularJS autocomplete directive

node-module, es6, webpack, babel, angular, autocomplete, directive

readme

angular-simple-autocomplete-directive Build Status

NPM package for a simple AngularJS autocomplete directive.

Usage

To install the package, run: npm install angular-simple-autocomplete-directive or bower install angular-simple-autocomplete-directive

Include the script and the css into your project:

<script src="node_modules/angular-simple-autocomplete-directive/dist/main.js"></script> (after having the angular.js included)
<link rel="stylesheet" href="node_modules/angular-simple-autocomplete-directive/dist/main.css">

Insert the autocomplete directive into your template:

As an element

<autocomplete options="['apple', 'samsung', 'nokia']" model="test" />

or as an attribute

<input autocomplete options="['apple', 'samsung', 'nokia']" model="test" />

License

MIT