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

Add tabDragSpeed global attribute #42

Merged
merged 1 commit into from
Nov 1, 2018
Merged

Add tabDragSpeed global attribute #42

merged 1 commit into from
Nov 1, 2018

Conversation

bretcope
Copy link
Contributor

@bretcope bretcope commented Nov 1, 2018

I noticed the CSS transition speed for the tab drag outline was hard-coded at 0.3 seconds. I found this to be a bit slow for my taste. This PR would make it customizable via a global attribute.

Another option would be to move it out of code and into CSS. Both options have pros and cons, but an attribute met my needs well, so I went with that. If you disagree with the approach, I'm happy to discuss.

If you want to rename tabDragSpeed to something else, I don't mind. I just care about the functionality.

Thank you!

@nealus nealus merged commit e8682a7 into caplin:master Nov 1, 2018
@bretcope bretcope deleted the transition-speed branch November 1, 2018 20:42
@bretcope
Copy link
Contributor Author

bretcope commented Nov 2, 2018

@nealus thanks for merging this. Would you be able to publish to npm sometime in the near future?

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

Successfully merging this pull request may close these issues.

2 participants