beedesk / jQTouch

jQT + actively maintained + exclusive features (iPad layout, iscroll, tons of css enhancements, page events, param passing between pages, radio button, grid, mail, improved page history management etc.)
http://bit.ly/beedesk-jqt
MIT License
72 stars 13 forks source link

info.direction always says "in" #32

Closed l0c0luke closed 12 years ago

l0c0luke commented 12 years ago

when I bind something to pageAnimationEnd, I always see the direction of "in". I guess I would expect that when I press the back button, it should say "out" ?

Mentioned in another issue I just raised, I am using the goback class for my back button.

thomasyip commented 12 years ago

I inspect the code, it seems to be calling both.

The expect behaviour is the following: When you are clicking on page A that trigger you to go to page B, A is fromPage, and B is toPage.

When the animation end, fromPage is "out", toPage is "in".

Please reopen this bug, if you still think it is an issue.