Why is there no animation in the docs code, yet the animation is working

If you want to add animated transitions take a look at this forum post:

This approach uses Cordova Native Transition plugin.