-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
md-tabs should emit changes when focus/select changes #569
Comments
@DennisSmolek we are going to have a separate component just for using tabs to change the route (see #524), but there should also be events for changing tabs. |
Hi! What about the other way around? I have an md-tab-group with Is there any obvious way to achieve this? I could update the [selectedIndex] every time I navigate but that doesn´t look very good. I thought about emiting an event myself (selectChange) but not sure this is feasible either. Thanks! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Feature:
In the current tabs component there is the function
set focusIndex(value: number)
that would be easy to tap into for an EventEmitter.Simply adding an
@Output
of sayfocusChanged
would allow other components/services to listen to when the tabs changed.This would mean you could fire a
location.go()
ormySpecialLogger()
whenever the user navigates..The text was updated successfully, but these errors were encountered: