-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add attribute: data-direction="forward" #3077
Comments
Hi! |
Except when using data-rel="back". This sets the direction to reverse and cannot be overridden using the data-direction attribute. |
By the way, this is not super important to me, so I won't be hurt if it gets a low priority or is otherwise closed. It just seemed like something that would make the API more complete. If you can set the direction to reverse, you should also be able to set it forward. |
In your example code you set the target-page, so you can omit the |
Yes, but I want it to go backwards in the history, not forwards, which would add to the history stack. |
Would you mind adding this to the feature request wiki page? |
Can't believe how this request is old but not addressed yet. Any heads up whether it's going to be implemented at all? |
when you want to slide back, add attribute data-rel = "back" with If you want to do forward. Just remove the attribute $("#pag"+currentPage).removeAttr("data-rel"); |
I have run into a situation where it would be nice (and would make sense to the user) to override the default transition direction to go forward. For example, using data-rel="back", I would like to specify data-direction="forward"
The text was updated successfully, but these errors were encountered: