From aae5f5a24bb180a8d4999b590df27af90449b117 Mon Sep 17 00:00:00 2001 From: Kristian Barrese Date: Sat, 28 Apr 2018 17:28:26 +0200 Subject: [PATCH] Support customOptions object + code clean up Now you can add a *customOptions* property with an object as particles.js settings. In this way, the component becomes compatible with the classic JSON particles.js configuration. --- src/vue-particles/vue-particles.vue | 351 ++++++++++------------------ 1 file changed, 127 insertions(+), 224 deletions(-) diff --git a/src/vue-particles/vue-particles.vue b/src/vue-particles/vue-particles.vue index aa54ea15..29b3ad56 100644 --- a/src/vue-particles/vue-particles.vue +++ b/src/vue-particles/vue-particles.vue @@ -1,250 +1,153 @@