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

Is there a way of changing pointer result? #126

Open
lorenzoa7 opened this issue Jun 1, 2023 · 2 comments
Open

Is there a way of changing pointer result? #126

lorenzoa7 opened this issue Jun 1, 2023 · 2 comments

Comments

@lorenzoa7
Copy link

By default, the pointer is located at the top right position of the wheel. I wonder if there's any way of changing it directly to the top of the wheel. Not only its position, but also taking the top prize number when the wheel stops spinning.

@theweboratory
Copy link

You could rotate the div that the roulette is in to change the location of the pointer.

e.g CSS

.roulette_container { transform: rotate(-20deg); }

I've used 20deg for this example but it might be a different amount.

@wlisesrivas
Copy link

The CSS rotation works as @theweboratory has suggested, but I think this should be a property for the component.

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

3 participants