animate

defines the type of animation, with which the view is shown, if it is a Multiview cell

boolean|object animate;

Example

{
    view:"multiview", // optional
    cells:[
        {
            id:"some",
            animate:{ type:"flip", subtype:"vertical" },
            // view config
        }
    ]
}


Default value:

{type:"slide", subtype:"together"}

Related samples

Details

This setting works only for views that are Mutliview cells. It overrides the animate setting. It also works together with the show() method of a view, when show is called with the second parameter.

Redefining Default Animation

By default, a view is shown with animation, defined for Multiview. To define a different type of animation for a particular view, define its animate setting:

{
    view:"multiview",
    cells:[
        {
            id:"some",
            animate:{ type:"flip", subtype:"vertical" },
            // view config
        }
    ]
}
See also
  • Articles
  • Back to top