ngtouchstart

1.0.1 • Public • Published

nglar - ngTouchstart

A angular module to add directives for touch devices.

Build Status StyleCI Status Total Downloads Dependencies Dev Dependencies License Issues Forks GitHub stars Twitter Gratipay donate button Flattr donate button PayPayl donate button BitCoin donate button Wishlist browse button

Info

Version: 1.0.1
Author: Mark Topper [Facebook] [Github] [Twitter]
Website: www.webman.io
Email: mark@webman.io

Installing/Loading

Install using bower:

bower install ngtouchstart --save

Load the file to you HTML header:

<script type="text/javascript" src="path/to/bower_components/ngtouchstart/build/ngTouchstart.min.js"></script>

Usage

You must include the ngTouchstart dependency on your angular module:

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

Then in your controller:

$scope.onTouchmove = function($event) {
   console.log('touchmove event called');
}

Then in your HTML:

<div ng-touchmove="onTouchmove($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 ngTouchstart:

  • None yet

Contact me at mark@webman.io to get yours added.

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

  • Angular: HTML enhanced for web apps

The following is a list of alternatives for ngTouchstart:

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

Tests

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

Official Documentation

Documentation for this library can be found on the website.

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@webman.io. All security vulnerabilities will be promptly addressed.

License

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

Package Sidebar

Install

npm i ngtouchstart

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • marktopper