Problem
You want to toggle a boolean property.
Solution
Use the toggleProperty
method of an Ember.Object
.
obj.toggleProperty('isVisible');
You want to toggle a boolean property.
Use the toggleProperty
method of an Ember.Object
.
obj.toggleProperty('isVisible');