mvvm - ExtJS 5 bind toggle button to multiple components state -
I am working with ExtJS 5 and I have pressed the configuration bind of a toggle button In other words, it should be something like this:
Ext.define ('MyApp.view.MyPanel', { Expansion: 'Expandal panel', nickname: 'Widget mappal', is required: ['route to view'], see model: {type: 'myname'}, item: [{xtype: 'button', reference : 'Btn1', enableglu: true}, {xtype: 'button', reference: 'btn2', enableToggle: true}, // ... bunch of other buttons {xtype: 'button', enableToggle: true, bind : {Pressed: '{btn1.pressed & amp; amp; btn2.pressed}'}}},});
In addition, I should be able to add or remove components in a demented toggle button. How can I get it?
Comments
Post a Comment