Description

Component to make an image formed by concentric circles.

Component

Makes an image to be divided in concentric circles.

The component can have the following attributes.

AttributeTypeRequiredDescription
sliderObjecttrueThe VueFlux component responsible of this cube
circlesnumbertrueThe number of circles to be divided into
indexNumber, StringtrueIf a number represents the image index of slider and if string of hexadecimal will just paint it with the defined color

Example:

<flux-vortex :slider="slider" :num-circles="5" :index="1"></flux-vortex>

Methods

MethodParametersDescription
setCsscssObject with the style to be applied to vortex container
transformfuncRuns a transform function for each circle, receiving as parameter the circle and number