Look at passing the options in via bootstrap-switch initialization rather than setting element data attributes. Not sure what the pro's and con's are at this point. Suppose it would help cleanup the generated element. Of course still bind the native element attributes..
Look at passing the options in via bootstrap-switch initialization rather than setting element data attributes. Not sure what the pro's and con's are at this point. Suppose it would help cleanup the generated element. Of course still bind the native element attributes..