Option: when
Jump to navigation
Jump to search
Sets event listeners. The keys must be listed on the event list.
| Type | Object |
|---|---|
| Default value | Empty object |
For example:
$("#flipbook").turn({when: {
turning: function(event, page, pageObject) {
// Implementation
}
}
});
<yambe:breadcrumb>Turn Options</yambe:breadcrumb>