xtype: 'component',
cls: 'headerComponent',
id: 'RequirementHeader' + i,
itemId: 'requirementHeaderViewID-' + i,
html: arrReqTplHeader,
constructor: function (config) {
var me = this,
currentConfig = me.config;
me.fireEvent('initialize', me);
},
initialize: function (obj) {
var me = this;
me.element.down('img').on('tap', me.imageTap, this, me);
}, imageTap: function (obj) {
alert("it doest reach here");
}
I have this component in sencha touch that works fine when I am using it on testing environment, but as soon as I build the project it does not call the initialize function in the build version, Can someone please help me with this. I have tried googling the issue already but of no use.