ngtap

1.0.0 • Public • Published

No longer maintained, would you be our new maintainer? Let us know at mark@ulties.com.

nglar - ngTap

A angular module to add directives for touch devices.

Build Status StyleCI Status Dependencies Dev Dependencies License

Info

Version: 1.0.1
Author: Mark Topper [Facebook] [Github] [Twitter]
Website: ulties.com
Email: mark@ulties.com

Installing/Loading

Install using Bower

Install using bower:

bower install ngtap --save

Install using NPM

Install using npm:

npm install ngtap --save

Go to NPM page for this package.

Loading

Load the file to you HTML header:

<script type="text/javascript" src="path/to/components/ngtap/build/ngTap.min.js"></script>

Usage

You must include the ngTap dependency on your angular module:

var app = angular.module("demoapp", ["ngTap"]);

Then in your controller:

$scope.onTap = function($event) {
   console.log('tap event called');
}

Then in your HTML:

<div ng-tap="onTap($event)"></div>

This will trigger whenever a touch device is touched and moving.

Get the whole ngTouch package.

Links

The following is a list of libraries that extend ngTap:

  • None yet

Contact me at mark@ulties.com to get yours added.

The following is a list of libraries that requires by ngTap:

  • Angular: HTML enhanced for web apps

The following is a list of alternatives for ngTap:

  • ngTouch: A angular module to add directives for touch devices.

Tests

From the project directory, tests can be ran using gulp test

Contributing

Thank you for considering contributing! The contribution guide can be found in the contributions.md.

Security Vulnerabilities

If you discover a security vulnerability within ngTouch, please send an e-mail to Mark Topper at mark@ulties.com. All security vulnerabilities will be promptly addressed.

License

Released under the MIT License - see license.txt for details.

Readme

Keywords

Package Sidebar

Install

npm i ngtap

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • marktopper