Skip to content

Conversation

@johnhaley81
Copy link

The Tabs object has an onChange event that has no context
when the event is fired. This will pass in the new tab into the
event so that it now has some context.

John Haley added 3 commits March 3, 2015 10:35
The `Tabs` object has an `onChange` event that has no context
when the event is fired. This will pass in the new tab into the
event so that it now has some context.
`Tabs.onChange` now has 2 arguments: tabIndex and tab which are
the newly selected tab and its index in the array
hai-cea added a commit that referenced this pull request Mar 3, 2015
@hai-cea hai-cea merged commit f1a55c1 into mui:master Mar 3, 2015
@hai-cea
Copy link
Member

hai-cea commented Mar 3, 2015

Thanks @johnhaley81 👍

@johnhaley81 johnhaley81 deleted the pass-selected-tab-onchange branch March 3, 2015 19:56
@johnhaley81
Copy link
Author

Anytime :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: tabs Changes related to the tabs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants