Option: when
From Turn.js Documentation
Sets event listeners. The keys must be listed on the list of events.
Type | Default value |
---|---|
Object | Empty object |
For example:
$("#flipbook").turn({when: { turning: function(event, page, pageObject) { // Implementation } } });