No transition

Hi

I want to know if is possible to change between views in a multiview without transition, something similar to $$(‘view’).show(none)

Thanks in advance

Hi,

try to disable animate property of multiview:

{
view:“multiview”,
animate:false,

}

Thanks, but I have a multiview with a lot of views, and I need to disable it only between 2 concrete views. Is not possible?
thankss

Hi,

it is possible, but

  1. You will have to call show() method to show a certain view (multiview:true in tabbar doesn’t match in this case)

  2. You need to redefine the “animate” property of the multiview before show() call:

function showView(id){
if(id!=“static”)
$$(“views”).define(“animate”,{
type:“slide”
})
else
$$(“multiview”).define(“animate”,false);
$$(id).show(animate);
}

Thanks!