XiaoLin1995/vue-fortune-wheel

how to add image to wheel

jakkapong1129 opened this issue · 2 comments

how to add image to wheel

Please see the document

<!-- type: image -->
<FortuneWheel
  ref="wheelEl"
  type="image"
>
  <template #wheel>
    <!-- A picture of your wheel  -->
    <img src="./assets/wheel.png" style="width: 100%;transform: rotateZ(60deg)" />
  </template>
  <template #button>
    <!-- A picture of your button-->
    <img src="./assets/button.png" style="width: 180px"/>
  </template>
</FortuneWheel>

add in
image
I'm not fix image i want add image to array