Navigation Bar Layout

layout:{
    type : 'navbar'
}

Demo

SAMPLE
CODE

In the Navigation Bar layout, you always have two child views. The first view is initially off screen to the left, while the second main view will span the entire viewport(parent view).

When the first view is shown, it will slide in from the left moving both child views:

ludo.get('<parent>').getLayout().show();

If you want to hide the view again, you can call

ludo.get('<parent>').getLayout().hide();

You may also use the toggle function. It will call the show method if the view is hidden and the hide method otherwise.

ludo.get('<parent>').getLayout().toggle();
Generated 2016-12-02 19:27:14