This repository was archived by the owner on May 29, 2019. It is now read-only.
File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
- Typeahead is a AngularJS version of [ Twitter Bootstrap typeahead plugin] ( http://twitter.github.com/bootstrap/javascript.html#typeahead )
2
-
1
+ Typeahead is a AngularJS version of [ Twitter Bootstrap typeahead plugin] ( http://twitter.github.com/bootstrap/javascript.html#typeahead ) .
3
2
This directive can be used to quickly create elegant typeheads with any form text input.
4
3
5
- It is very well integrated into the AngularJS as:
4
+ It is very well integrated into the AngularJS as it uses subset of the
5
+ [ select directive] ( http://docs.angularjs.org/api/ng.directive:select ) syntax, which is very flexible. Supported expressions:
6
+
7
+ * _ label_ for _ value_ in _ sourceArray_
8
+ * _ select_ as _ label_ for _ value_ in _ sourceArray_
9
+
10
+ The ` sourceArray ` expression can use a special ` $viewValue ` variable that corresponds to a value entered inside input by a user.
6
11
7
- * it uses the same, flexible syntax as the [ select directive] ( http://docs.angularjs.org/api/ng.directive:select )
8
- * works with promises and it means that you can retrieve matches using the ` $http ` service with minimal effort
12
+ Also this directive works with promises and it means that you can retrieve matches using the ` $http ` service with minimal effort.
You can’t perform that action at this time.
0 commit comments