In this article, we will show you switches for checkboxes style switchery JS. This article will give you simple example of switches for checkboxes style switchery JS. you will learn switches for checkboxes style switchery JS.
Example
<!DOCTYPE html> <html> <head> <title>switches for checkboxes style switchery JS - codeplaners.com</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/switchery/0.8.2/switchery.min.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/switchery/0.8.2/switchery.min.js" type="text/javascript"></script> </head> <body> <input type="checkbox" class="js-switchery" checked /> <script type="text/javascript"> var elem = document.querySelector('.js-switchery'); var init = new Switchery(elem); </script> </body> </html>