javascript - slide a panel over the content -
i have menu(panel) , when expand collapsible menu within layout compresses content of panel next it. how expand on content? here menu code.
ext.define('*****.view.main.mainmenu', { extend: 'ext.panel.panel', alias: 'widget.main.mainmenu', title: 'menu', collapsed: true, dock: 'left', minwidth: 140, initcomponent: function () { var me = this; ext.applyif(me, { collapsedirection: 'left', collapsible: true, titlealign: 'center', titlecollapse: false, items: [ { } ] }); me.callparent(arguments); } });
you can make floating, can change window (which specialized panel resizeable , floatingby default), can change layout of parent container, can wrap these 2 panels tabpanel show 1 panel @ time, accordion might work if need see 1 @ time. check out examples sencha website see different combinations.
Comments
Post a Comment