diff --git a/src/vue-particles/vue-particles.vue b/src/vue-particles/vue-particles.vue index aa54ea15..0943c733 100644 --- a/src/vue-particles/vue-particles.vue +++ b/src/vue-particles/vue-particles.vue @@ -7,6 +7,7 @@ :linesColor="linesColor" :particlesNumber="particlesNumber" :shapeType="shapeType" + :shapeOptions="shapeOptions" :particleSize="particleSize" :linesWidth="linesWidth" :lineLinked="lineLinked" @@ -45,6 +46,10 @@ type: String, default: 'circle' }, + shapeOptions: { + type: Object, + default: {} + }, particleSize: { type: Number, default: 4 @@ -99,6 +104,7 @@ this.particleOpacity, this.particlesNumber, this.shapeType, + this.shapeOptions, this.particleSize, this.linesColor, this.linesWidth, @@ -119,6 +125,7 @@ particleOpacity, particlesNumber, shapeType, + shapeOptions, particleSize, linesColor, linesWidth, @@ -152,7 +159,8 @@ }, "polygon": { "nb_sides": 5 - } + }, + ...shapeOptions }, "opacity": { "value": particleOpacity,