I have a controller where I need to push several objects into an array. But object has dynamic css also.
Initially I set the content attribute in .less file with the particular class name and pushed it into the controller. That was working fine.
I tried to overwrite the classname based on the Locale in .less file itself with the respective content. That is working fine also.
But now, i need to handle that in js file itself because the application is migrated into Internationlization and I dont want to hardcoded all Locales specific content in .less file.
Can anyone help on this.
Thanks in advance.