How to check the style properties in extjs?
To set a style to a panel, we can use setBodyStyle
.
After setting the style, I want to check the value of a particular property.
Like,
var panel = Ext.getCmp('id');
if(panel.getStyles().fontSize == 24) //for example
//do this stuff
else
//do the other stuff
I am using extjs 4.1.1a