Updating the items content.
This commit is contained in:
parent
8c4f036431
commit
20069bfe84
@ -29,9 +29,12 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
updateItem: function () {
|
||||
updateCheckbox: function () {
|
||||
this.$emit('updateItem', {id: this.element.id, checked: this.element.checked}, true)
|
||||
},
|
||||
updateContent: function () {
|
||||
this.$emit('updateItem', {id: this.element.id, content: this.element.content}, true)
|
||||
},
|
||||
deleteElement: function () {
|
||||
this.$emit('deleteElement', this.element.id)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user