0.6.11 • Published 9 years ago

lc-touch v0.6.11

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

lcTouch

An Angular.js touch library

Build Instructions

This will build a normal version and a minified version of the module and place it in the dist folder.


Directives List

ngTap - Adds tap support with a fallback to clicks for desktop browsers

ngTapOutside - Adds tap support for when a user taps or clicks outside a designated area

ngSwipeDown - Adds Swipe Down support to an element

ngSwipeUp - Adds Swipe Up support to an element

ngSwipeLeft - Adds Swipe Left support to an element

ngSwipeRight - Adds Swipe Right support to an element


ngTap

Adds tap support with a fallback to clicks for desktop browsers

Restricted to: Attribute

Usage:

Parameters:

  • ngTap - {string} - An expression representing what you would like to do when the element is tapped or clicked

===============

ngTapOutside

Adds tap support for when a user taps or clicks outside a designated area

Restricted to: Attribute

Usage:

Parameters:

  • ngTapOutside - {string} - An expression representing what you would like to do when the element is tapped or clicked
  • when - optional - {string} - An expression that will return a boolean which represents when it should listen for tap outside events

===

ngSwipeDown

Adds Swipe Down support to an element

Restricted to: Attribute

Usage:

Parameters:

  • ngSwipeDown - {string} - An expression representing what you would like to do when the element is swiped
  • ngSwipeDownThreshold - optional - {integer} - The minimum amount in pixels you must swipe. Defaults to 70

===

ngSwipeUp

Adds Swipe Up support to an element

Restricted to: Attribute

Usage:

Parameters:

  • ngSwipeUp - {string} - An expression representing what you would like to do when the element is swiped
  • ngSwipeUpThreshold - optional - {integer} - The minimum amount in pixels you must swipe. Defaults to 70

===

ngSwipeLeft

Adds Swipe Left support to an element

Restricted to: Attribute

Usage:

Parameters:

  • ngSwipeLeft - {string} - An expression representing what you would like to do when the element is swiped
  • ngSwipeLeftThreshold - optional - {integer} - The minimum amount in pixels you must swipe. Defaults to 70

===

ngSwipeRight

Adds Swipe Right support to an element

Restricted to: Attribute

Usage:

Parameters:

  • ngSwipeRight - {string} - An expression representing what you would like to do when the element is swiped
  • ngSwipeRightThreshold - optional - {integer} - The minimum amount in pixels you must swipe. Defaults to 70
0.6.11

9 years ago

0.6.10

9 years ago

0.6.9

9 years ago

0.6.8

9 years ago

0.6.7

9 years ago