Sencha panel에 click 이벤트 넣기
Case1{ xtype: 'panel', bodyStyle: 'background-color:black', html: 'Logout', listeners: { afterrender: function(panel) { panel.getEl().on('click', function() { Ext.Msg.alert('Panel Clicked', 'You clicked on the panel!'); }); } }},Case2{ xtype: 'panel', bodyStyle: 'background-color:black', html: 'Logout', listeners: { click: { lement: 'el', //bind to the underlying el property on ..
2024.08.31