12 lines
240 B
JavaScript
12 lines
240 B
JavaScript
export default {
|
|
mutations: {
|
|
addAnimation({ curComponent }, animation) {
|
|
curComponent.animations.push(animation)
|
|
},
|
|
|
|
removeAnimation({ curComponent }, index) {
|
|
curComponent.animations.splice(index, 1)
|
|
}
|
|
}
|
|
}
|