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

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -