17 lines
296 B
JavaScript
17 lines
296 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Component.extend({
|
|
tagName: 'tr',
|
|
isEditing: false,
|
|
|
|
actions: {
|
|
edit: function() {
|
|
this.toggleProperty('isEditing');
|
|
},
|
|
|
|
save: function() {
|
|
this.toggleProperty('isEditing');
|
|
console.log('saved');
|
|
}
|
|
},
|
|
});
|