a-autocomplete

Wrapper for Jquery ui autocomplete

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Nov 18, 2017Oct 27, 2017Minified + gzip package size for a-autocomplete in KB

Readme

A-Autocomplete

Angular lib wrapper for JQuery ui Autocomplete

Install

npm install --save a-autocomplete

Usage

  1. Import the module in your module. ``` import {AAutocompleteModule} from 'a-autocomplete';

@NgModule({ ... imports:[AAutocompleteModule] ... })



  2. Include the js and the css in your .angular-cli.json

... "styles": [ "../node_modules/jquery-ui-dist/jquery-ui.min.css" ], "scripts": [ "../node_modules/jquery/dist/jquery.min.js", "../node_modules/jquery-ui-dist/jquery-ui.min.js" ] ...


  3. Use it in the component

<input [options]="{source: ['hola', 'mundo']}" a-autocomplete>

```

You can set any autocomplete option, that jquery-ui autocomplete in [Autocomplete Docs] (http://api.jqueryui.com/autocomplete/)

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.