Split a circle into a number of equal parts web component, so you can use it in any framework
Name | Type | Default | Description |
---|---|---|---|
parts |
array |
[1,2,3,4,5,6,7,8] |
data of circle, used in show and event |
radius |
string |
100px |
the radius of circle |
Name | Description |
---|---|
partclick |
click event, return a CustomEvent Object, you can find part data in event.detail.part |