how to add image to wheel
jakkapong1129 opened this issue · 2 comments
jakkapong1129 commented
how to add image to wheel
XiaoLin1995 commented
<!-- 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>
jakkapong1129 commented