mirror of
https://github.com/blasten/turn.js.git
synced 2025-08-28 04:33:26 +08:00
Added option to specify which corners are active
This commit is contained in:
parent
867d93b4e0
commit
3a6f9282d5
3
turn.js
3
turn.js
@ -260,6 +260,9 @@ turnMethods = {
|
|||||||
|
|
||||||
this.turn('page', opts.page);
|
this.turn('page', opts.page);
|
||||||
|
|
||||||
|
// allow setting active corners as an option
|
||||||
|
corners = $.extend({}, corners, opts.corners);
|
||||||
|
|
||||||
// Event listeners
|
// Event listeners
|
||||||
|
|
||||||
$(this).bind(events.start, function(e) {
|
$(this).bind(events.start, function(e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user