diff --git a/src/App.vue b/src/App.vue index ac78b014..2c4c6c11 100644 --- a/src/App.vue +++ b/src/App.vue @@ -31,6 +31,7 @@ hoverMode="grab" :clickEffect="true" clickMode="push" + detectOn="canvas" > diff --git a/src/components/Main.vue b/src/components/Main.vue index bd591912..39b0842b 100644 --- a/src/components/Main.vue +++ b/src/components/Main.vue @@ -175,6 +175,15 @@ Vue.use(VueParticles) "push", "remove", "repulse", "bubble" + + detectOn + String + canvas + + Available detect on: + "canvas", "window" + + diff --git a/src/vue-particles/vue-particles.vue b/src/vue-particles/vue-particles.vue index aa54ea15..92d704ba 100644 --- a/src/vue-particles/vue-particles.vue +++ b/src/vue-particles/vue-particles.vue @@ -17,6 +17,7 @@ :hoverMode="hoverMode" :clickEffect="clickEffect" :clickMode="clickMode" + :detectOn="detectOn" >