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

feat: configure joystick size with data-gpz-radius and data-gpz-range #8

Open
11 tasks
RodrigoDornelles opened this issue Nov 8, 2023 · 1 comment
Open
11 tasks

Comments

@RodrigoDornelles
Copy link
Owner

support sizes like css with at least the main variations.

data-gpz-radius

border of joystick size

  • default (100%)
  • 0..1
  • `%'
  • px
  • vh
  • vw
  • vmin
  • vmax

data-gpz-range

how much the center stick can go beyond the edge of the border joystick.

  • default (150%)
  • 0..1
  • %
@RodrigoDornelles
Copy link
Owner Author

perhaps it might be interesting to data-gpz-size-1 data-gpz-size-2... to maintain polymorphism with other classes and simplify documentation.

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

1 participant