1.0.0 • Published 9 years ago

az-autofocus v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

az-autofocus

Status: npm version npm downloads Build Status Code Coverage

az-autofocus is a directive that allows you to more easily control focus for specific elements.

Demo

Installation

npm install -S az-autofocus

Usage:

Depend on the module

angular.module('yourModule', ['azAutofocus']);

Use it

<input placeholder="Type 'foo'" ng-model="first">
<input placeholder="Type 'bar'" ng-model="second" az-autofocus="{{first === 'foo' && second !== 'bar'}}" refocus focus-wait="250">

LICENSE

MIT

Code of Conduct

Contributor Covenant