is there a way to add multiple classes to a panel or button in sencha touch?
I tried to add more than one with “cls:’newClass secondClass’,” but it seems I can only add one class…
is there a way to add multiple classes to a panel or button in
Share
You can use the .addCls function for that.
For example:
The HTML output of the button will now be: