Event: tap
Jump to navigation
Jump to search
This event is triggered when a tap or click happens on the viewport element.
| Argument | Type | Description |
|---|---|---|
| event | Object | Event Object |
Example:
$("#zoom-view").bind("zoom.tap", function(event) {
if ($(this).zoom("value")==1) {
$(this).zoom("zoomIn", event);
} else {
$(this).zoom("zoomOut");
}
});
<yambe:breadcrumb>Zoom Events</yambe:breadcrumb>