Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

add remove to array vue js


deleteEvent: function(event) {
  this.events.splice(this.events.indexOf(event), 1);
}

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #add #remove #array #vue #js
ADD COMMENT
Topic
Name
3+6 =