Zoom Option: when

From Turn.js Documentation
Revision as of 00:01, 9 July 2012 by Emmanuel (talk | contribs) (→‎For example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets event listeners. The keys must be listed on the list of events.

Type Default value
Object Empty object

For example

$("#zoom-viewport").turn({when: {
	doubleTap: function(event) {
		// Implementation

See Also

<yambe:breadcrumb>Zoom Options</yambe:breadcrumb>