I use Bootstrap-Switch, and the documentation says that parameters can be passed as an object during initialization. enter the link here
And here is a list of options: enter the link here
So my code looks like this:
var options = { onText: "Yes", onColor: 'primary', offColor: 'danger', offText: "No", animate: true, }; $("[name='radioGroup1']").bootstrapSwitch(options);
And all this works fine, but none of the default parameters are overwritten by the parameters.
Does anyone have examples of how this might work?
source share