Skip to content

Typeahead Focus - Add a focus functionality to Angular UI Bootstrap Typeahead

Notifications You must be signed in to change notification settings

trence/typeaheadFocus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Typeahead Focus - Add a focus functionality to Angular UI Bootstrap Typeahead

This project is intended to add a "focus" functionality to the angular-ui-bootstrap typahead directive. It activates the typeahead's menu on click in addition to the default keyboard initiated functionality.

Installation

bower install typeahead-focus --save

##Usage

// Add 'typeahead-focus' dependency to your app
var myApp = angular.module('myApp', ['typeahead-focus']);
<!-- Use the 'input' element as follows -->
<input type="text" ng-model="selected" typeahead="item for item in items | filter:$viewValue:$emptyOrMatch | limitTo:8" typeahead-focus class="form-control" >

About

Typeahead Focus - Add a focus functionality to Angular UI Bootstrap Typeahead

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%