How to update the changes made in the controller to the view?
View
Ext.define('SomeClassName',
extends: 'Ext.container.Container',
alias: 'widget.somewidget'
/* other content here */
Controller
requires: ['SomeClassName'],
init: function(){
var someVar = Ext.widget('somewidget');
Ext.apply(someVar,{html: 'hello'});
}
Eventhough, In the above controller, I am changing the html
of the variable, the view is not changing. Am I doing something wrong here?
If this is not possible, then how to do this?