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

[Feature] Tab events #30

Open
BurkusCat opened this issue Oct 14, 2023 · 0 comments
Open

[Feature] Tab events #30

BurkusCat opened this issue Oct 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@BurkusCat
Copy link
Owner

Is your feature request related to a problem? Please describe.
I want to be able to know when a tab has been switched to or switched away from. Essentially, an equivalent to the INavigatedEvents but for tab selection.

Describe the solution you'd like
I want to be able to have an interface on my tabbed page viewmodels that lets me know if the page has been switched away from. This is potentially complicated if using one viewmodel for many tabs (i.e. the tabbedpage's viewmodel is also the tabs' viewmodel)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Proposed APIs

// ITabEvents
void OnTabSelected()

void OnTabDeselected()

Additional context
N/A

@BurkusCat BurkusCat added the enhancement New feature or request label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant