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

Animating disabled state #57

Closed
bartzy opened this issue Mar 8, 2015 · 5 comments
Closed

Animating disabled state #57

bartzy opened this issue Mar 8, 2015 · 5 comments

Comments

@bartzy
Copy link

bartzy commented Mar 8, 2015

Hi,

Is it possible to animate the disabled state (going in and out of this state) ?

Thanks!

@abpetkov
Copy link
Owner

abpetkov commented Mar 9, 2015

In general, you'll find difficulties changing disabled state dynamically (issue #30) therefore you'll have the same difficulties when trying to animate it. I'm not exactly sure what is it that you want to do, so if you could give some more details, I'll try to help.

@bartzy
Copy link
Author

bartzy commented Mar 10, 2015

Thanks for the answer,
By animating I meant fading in the color change when disabling and enabling a switch.

@abpetkov
Copy link
Owner

You can extend the plugin's styles, by adding CSS3 transition to the opacity property (we lower opacity on disabled switches). That might easily work, but in any case this is something you should build on your side.

@justein
Copy link

justein commented Mar 26, 2015

I want to know how to change to swtiches's disabled state dynamically..

@abpetkov
Copy link
Owner

Check the issue, I've linked above. It's addressing the same problem.

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

No branches or pull requests

3 participants