show

makes the component visible

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

Parameters

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

Example

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

Details

This method helps showing the views that were hidden before:

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

The same effect as show() 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