We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I needed to add a title attr to the toggle but setting it to the input tag did not work.
title
I had to copy the attr with some code:
$('#my-switch').parent().prop('title', $('#my-switch').prop('title'));
maybe this could be done by default for a selected list of attributes
The text was updated successfully, but these errors were encountered:
more generic code (with bootstrap and onoffswitch-checkbox class to trigger the plugin):
$(function() { var toggle = $('.toggle input.onoffswitch-checkbox'); toggle.parent().prop('title', toggle.prop('title')); });
Sorry, something went wrong.
This would be a great feature to add to copy certain attributes, such as those for ADA Compliance, etc.
Checkbox Title as Title of the toggle #46 appears to be merged on master (10 Jun 2015), but don't work for me.
No branches or pull requests
I needed to add a
title
attr to the toggle but setting it to the input tag did not work.I had to copy the attr with some code:
maybe this could be done by default for a selected list of attributes
The text was updated successfully, but these errors were encountered: