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

Need a way to find position of a menu item by ID #71

Open
Wavesonics opened this issue Oct 13, 2017 · 0 comments
Open

Need a way to find position of a menu item by ID #71

Wavesonics opened this issue Oct 13, 2017 · 0 comments

Comments

@Wavesonics
Copy link

It's possible to get the ID of a given item by index, but not the other way around.

If we want to be able to use setSelectedIndex() to switch tabs programatically, and we don't want to rely on hard coded indices, we need a way to look up a tab position by ID.

Or better yet, also provide a setSelectedId() convenience method.

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