Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4826

Ember dynamic css content

$
0
0

@nivedhithav wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles