ngAutocomplete

AngularJS Autocomplete

Homepage

Angular Core Dependency: ~1.4.1

Module License: MIT

Added by: Sam Deering

GitHub

Repository

jkuri/ngautocomplete

Stats

Stars: 2

Watchers: 2

Forks: 0

Author

Jan Kuri
Jan Kuri

Module Description

ngAutocomplete

AngularJS Autocomplete

Live Example: demo

Installation

$ bower install ngAutocomplete-jkuri

Configuration

<!DOCTYPE html>
<html ng-app="app">
<head>
  <link rel="stylesheet" type="text/css" href="bower_components/ngAutocomplete-jkuri/src/css/ngAutocomplete.css">
</head>
<body ng-controller="Ctrl as ctrl">

<ng-autocomplete ng-model="ctrl.keyword"
       url="data/example_data.json"
       search-property="title"
       max-results="10"
       delay="300"
       min-length="2"
       allow-only-results="true"
       theme="red"
       placeholder="Išči ...">
</ng-autocomplete>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script>
<script type="text/javascript" src="bower_components/ngAutocomplete-jkuri/src/js/ngAutocomplete.min.js"></script>
<script type="text/javascript">
var app = angular.module('app', ['jkuri.autocomplete']);
app.controller('Ctrl', [function() {
    var self = this;
}]);
</script>
</body>
</html>

For more information and example please see: demo

Module stats last updated: 2015-06-28 10:58:39

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!