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 can i get the selected menu item index or position? #6

Closed
hassan31 opened this issue Sep 14, 2019 · 2 comments
Closed

How can i get the selected menu item index or position? #6

hassan31 opened this issue Sep 14, 2019 · 2 comments

Comments

@hassan31
Copy link

Hi, I want the selected index or position in Option Object. How can I get this?

Kind Regards,
Hassan

@Jawnnypoo
Copy link
Member

Hey, you can just use the id for this, setting each ID to the position or index.

@ola0x
Copy link

ola0x commented Aug 7, 2020

Yeah that's true
I created a GitHub gist to show the implementation, find it here
https://gist.github.com/OlaOlaoni/cadf63a95ad9a6b88cdc70631da6f5b8

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