This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/protected/strains/show/measurements-table-row/component.js
2015-09-16 09:12:13 -07:00

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');
}
},
});