jeudi 3 août 2017

Ember-Component how to add border to only on `click` component?

I would like to highlight the component on click event.( need to add a class name as addBorder) how to do that? while user clicks on other component, I would require to remove addBorder from other components.

so only the click componet will be highlighted at once.

I can do using jQuery very easily but I am looking for ember way!!

here is my demo: Live Demo Link




Aucun commentaire:

Enregistrer un commentaire