I want to toggle between class display on and display-off using Ember.js Octane. How do I do this? Do I need an @action or @tracked?
<img src="flower.jpg" alt="flower" class="display-on"> or <img src="flower.jpg" alt="flower" class="display-off">
Aucun commentaire:
Enregistrer un commentaire