Selaa lähdekoodia

Update to v1.8 and add Text Label

Update to v1.8 and add Text Label
Stein, Peter 12 vuotta sitten
vanhempi
commit
99784d27fc
1 muutettua tiedostoa jossa 20 lisäystä ja 1 poistoa
  1. 20 1
      README.md

+ 20 - 1
README.md

@@ -1,4 +1,4 @@
-Bootstrap-switch v.1.7
+Bootstrap-switch v.1.8
 ========================
 
 You can now also use radio buttons and checkboxes as switches.
@@ -129,6 +129,25 @@ radioboxes:
 ```
 
 
+Text Label
+----------
+checkboxes:
+
+``` html
+<div class="make-switch"  data-text-label="My Slider Text">
+    <input type="checkbox">
+</div>
+```
+
+radioboxes:
+
+``` html
+<div class="make-switch"   data-text-label="My Slider Text">
+    <input type="radio">
+</div>
+```
+
+
 HTML Text
 ----------
 checkboxes: