Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

theming support (change class programmatically)

Hi,

when I try and change an element's class from code I get an error. the doc says its read-only and i saw it was answered here that its not supported.

 

I find this quite problematic because it means I cant support themes for my app without tediously going over the elements in code and changing their color styles.

 

Why changing the class property from code isnt already supported is beyond me but I think its important for developers to more easily create apps.

 

(dont get me started on not being able to create elements from code...)

 

thanks.

 

Best Answer
1 REPLY 1

We will hopefully have a solution for this in a future update, I have also often hit this same limitation myself.

Best Answer