Zoom Option: when: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<yambe:breadcrumb>Zoom Options</yambe:breadcrumb>") |
No edit summary |
||
Line 1: | Line 1: | ||
Sets event listeners. The keys must be listed on the [[Zoom Events|list of events]]. | |||
{| class="wikitable" | |||
|- | |||
! scope="row" | Type | |||
! scope="row" | Default value | |||
|- | |||
| Object | |||
| <tt>Empty object</tt> | |||
|} | |||
==For example== | |||
<pre class="javascript"> | |||
$("#zoom-viewport").turn({when: { | |||
doubleTap: function(event) { | |||
// Implementation | |||
} | |||
} | |||
}); | |||
</pre> | |||
==See Also== | |||
* [[Zoom Events]] | |||
<yambe:breadcrumb>Zoom Options</yambe:breadcrumb> | <yambe:breadcrumb>Zoom Options</yambe:breadcrumb> |
Revision as of 00:01, 9 July 2012
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>