makes the component visible

void show( [boolean force,boolean animation] );


forcebooleanwhen set to true, the command will show not only the current view but the all parent views as well (can be used for nested tabviews or nested mutliviews)
animationbooleanenables/disables animation during view showing


// default
// without animation
$$("list").show(false, false);


This method helps showing the views that were hidden before:

  • either with the hide method;
  • or with the hidden parameter.

The same effect as show() makes can be achieved if you set the hidden parameter in the view constructor to the true value.

Performance tip

With standard views (not windows) you can use an alternative to the hide, show api, namely the ui.multiview functionality to switch between views.

See also
Back to top