Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Add docs for pinch and zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Jan 7, 2014
1 parent e8c20c6 commit 16d12a0
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions src/pinch.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,47 @@
* react to size change and rotation of the chord
*/

/**
* @module PointerGestures
* @submodule Events
* @class pinch
*/
/**
* Scale of the pinch zoom gesture
* @property scale
* @type Number
*/
/**
* Center X position of pointers causing pinch
* @property centerX
* @type Number
*/
/**
* Center Y position of pointers causing pinch
* @property centerY
* @type Number
*/

/**
* @module PointerGestures
* @submodule Events
* @class rotate
*/
/**
* Angle (in degrees) of rotation. Measured from starting positions of pointers.
* @property angle
* @type Number
*/
/**
* Center X position of pointers causing rotation
* @property centerX
* @type Number
*/
/**
* Center Y position of pointers causing rotation
* @property centerY
* @type Number
*/
(function(scope) {
var dispatcher = scope.dispatcher;
var pointermap = new scope.PointerMap();
Expand Down

0 comments on commit 16d12a0

Please sign in to comment.