Updating the items content.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
aminecmi 2022-08-06 13:58:02 +02:00
parent 8c4f036431
commit 20069bfe84

View File

@ -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)
}