Event: start: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
| [[Corner|Corner type]] | | [[Corner|Corner type]] | ||
|} | |} | ||
For example, if you want to only allows the user to interact with a corner at the bottom of the page, it code would be: | For example, if you want to only allows the user to interact with a corner at the bottom of the page, it code would be: | ||
Revision as of 03:04, 7 July 2012
This event is triggered when an animation of a page starts.
| Argument | Type | Description |
|---|---|---|
| event | Object | Event Object |
| page | Number | The page number |
| corner | Number | Corner type |
For example, if you want to only allows the user to interact with a corner at the bottom of the page, it code would be:
$("#flipbook").bind("start", function(event, page, corner) {
if (corner=="tl" || corner=="tr") {
event.preventDefault();
}
});
<yambe:breadcrumb>Turn Events</yambe:breadcrumb>