Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to add image to wheel #16

Open
jakkapong1129 opened this issue Jul 12, 2023 · 2 comments
Open

how to add image to wheel #16

jakkapong1129 opened this issue Jul 12, 2023 · 2 comments

Comments

@jakkapong1129
Copy link

how to add image to wheel

@XiaoLin1995
Copy link
Owner

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>

@jakkapong1129
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants