ng-caps-lock
v1.0.0
Published
node module for ng-caps-lock by FabioMR[D[D[D[D[D[D[3~[3~[3~[3~[C
Readme
ngCapsLock
ngCapsLock is a module for AngularJS to detect if caps-lock is on/off.
Getting Started
Download ngCapsLock or install it with Bower via
bower install ng-caps-lockInclude the script tag on your page after the AngularJS script tags
<script type='text/javascript' src='path/to/angular.min.js'></script> <script type='text/javascript' src='path/to/ng-caps-lock.min.js'></script>Ensure that your application module specifies
ngCapsLockas a dependency:angular.module('myApp', ['ngCapsLock']);Use the property
isCapsLockOnon ang-showdirective.<p class="caps-lock-alert" ng-show='isCapsLockOn'>Caps lock is on</p>
License
ngCapsLock is licensed under the MIT license. See the LICENSE file for more details.
