Event: swipeLeft: Difference between revisions

From Turn.js Documentation
Jump to navigation Jump to search
(Created page with "<yambe:breadcrumb>Zoom Events</yambe:breadcrumb>")
 
No edit summary
Line 1: Line 1:
This event is triggered when the user swipes from the right to the left.
{| class="wikitable"
|-
! scope="col"| Argument
! scope="col"| Type
! scope="col"| Description
|-
| event
| Object
| Event Object
|}
Example:
<pre class="javascript">
$("#zoom-view").bind("zoom.swipeLeft", function(event) {
$("#flipbook").turn("next");
});
</pre>
<yambe:breadcrumb>Zoom Events</yambe:breadcrumb>
<yambe:breadcrumb>Zoom Events</yambe:breadcrumb>

Revision as of 02:31, 9 July 2012

This event is triggered when the user swipes from the right to the left.

Argument Type Description
event Object Event Object

Example:

$("#zoom-view").bind("zoom.swipeLeft", function(event) {
	$("#flipbook").turn("next");
});

<yambe:breadcrumb>Zoom Events</yambe:breadcrumb>