فهرست منبع

Update to v1.8 and add Text Label

Update to v1.8 and add Text Label
Stein, Peter 12 سال پیش
والد
کامیت
99784d27fc
1فایلهای تغییر یافته به همراه20 افزوده شده و 1 حذف شده
  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: