For example, I clicked a link on the page which will jump to another route, but before the jump, I wanna some page effects such as fadeIn or slideIn to be shown, and this jump doesn't need to prepare any model data, it's just a pure jump to another route. How could I realise this? Thanks.
have a look at https://github.com/billysbilling/ember-animated-outlet
That's really coooooooooool~ Thank u so much :)
I tried this lib on Chrome with version 34.0.1847.137 m and Firefox with version 29.0.1 on my pc, but it’s of no use I can’t see any animation effect. Is this lib only for mobile app?
Did you try the demo http://ember-animated-outlet-demo.herokuapp.com?
it works for me in latest chrome / firefox. i don´t use the lib myself.
Yes, I tried the demo site and I saw the effect, but I used the code following the api and can't see the effect on my pc :(
Give https://github.com/gigafied/ember-animate a try as well. I’ve found that you have to create something like this to best leverage the animation behavior properly.
Thanks I’ll take a look at it
The jsbin demo does this weird blink when you click the link, then it slides in the colored view. Seems like a bug?
With ember-animated-outlet you have to define a view for all of your controllers that you want to transition. If you don’t, it throws an error in console and you won’t see the transition. Also make sure you are using the link-to-animated helper or method and not the norman link-to
Got it ~ Thanks for you help!