Closed davidpmtz closed 7 years ago
@davidpmtz Removing the data or the HTML element?
@ratiw both, first remove the data, and then remove the HTML.
Something like this this.items.$remove(item)
$remove
@davidpmtz If you remove the data, the reactivity in Vue will take care of removing the associated table row (HTML element) by itself. You can access the loaded data via tableData
. See similar question here.
Yeah thanks @ratiw
Hi, is there a way to do this?
this.data.$remove(element);
and then remove the element from the view.
TIA.