vi-angular-autofocus
v1.0.2
Published
AngularJS directive for autofocusing HTML elements
Readme
Angular Autofocus
Description
AngularJS directive for autofocusing HTML elements. When element with the directive is added to DOM, it will automatically get the focus.
Installation
npm install --save vi-angular-autofocusor
bower install vi-angular-autofocusor
yarn add vi-angular-autofocusRegister the module into your main app module
angular.module('myApp', ['vivify-ideas.angular-autofocus']);Usage
In the template, use the vi-autofocus directive:
HTML
<input name="name" type="text" vi-autofocus/>LICENCE MIT
