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

unchecked class #9

Closed
oozrafa opened this issue Apr 9, 2013 · 2 comments
Closed

unchecked class #9

oozrafa opened this issue Apr 9, 2013 · 2 comments
Labels

Comments

@oozrafa
Copy link

oozrafa commented Apr 9, 2013

Hey. I was wondering if it's possible to add 'uncheckedClass' . So that when the plugin initializes it will either add the 'uncheckedClass' or 'checkedClass', depending on the state of the original input.

Also is it possible to have a separate 'checkedClass' and 'uncheckedClass' for radio buttons and checkboxes?

This also means that the callbacks need to be per input type.

Basically this is because I want to use font-awesome classes instead of images.

also, if you have a better solution to use font awesome instead of background images (sprite) then that would be greatly appreciated.

@drgullin
Copy link
Owner

drgullin commented Apr 9, 2013

I've added 10 new options for the tasks like this one
https://github.com/fronteed/iCheck#options

The ones you asked for: checkedCheckboxClass, checkedRadioClass, uncheckedCheckboxClass, uncheckedRadioClass.

@drgullin drgullin closed this as completed Apr 9, 2013
@oozrafa
Copy link
Author

oozrafa commented Apr 10, 2013

Amazing. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants