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

Make the event optional in tabView.open() #564

Closed
alarive opened this issue Jul 5, 2016 · 2 comments
Closed

Make the event optional in tabView.open() #564

alarive opened this issue Jul 5, 2016 · 2 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@alarive
Copy link

alarive commented Jul 5, 2016

I would like to be able to use tabView.open() from my code without having to pass an event as a parameter.

So far I have been using the following workaround:
this.tabView.open({preventDefault: function() {}}, this.tabView.tabs[indexOfTabToOpen])

@sudheerj
Copy link
Contributor

sudheerj commented May 2, 2017

But what is the use of open() event callback without having event information.

@cagataycivici cagataycivici self-assigned this May 27, 2017
@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label May 27, 2017
@cagataycivici cagataycivici added this to the 4.0.2 milestone May 27, 2017
@cagataycivici
Copy link
Member

Done but I'd suggest using activeIndex property instead.

cagataycivici pushed a commit that referenced this issue May 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

3 participants