File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change 5858
5959## Demo
6060
61- Check out our [ demo] ( https://jsfiddle.net/p60t2bs4/ ) .
61+ Check out our [ demo] ( https://jsfiddle.net/p60t2bs4/2/ ) .
6262
6363## Installation
6464
@@ -142,6 +142,7 @@ Join our [Discord channel](https://discord.gg/WhX2nG6GTQ) or [open an issue](htt
142142
143143* [ Default toggle] ( #default-toggle )
144144* [ Toggle with labels] ( #toggle-with-labels )
145+ * [ Toggle with custom values] ( #toggle-with-custom-values )
145146* [ Toggle with custom styles] ( #toggle-with-custom-style )
146147
147148### Default toggle
@@ -152,36 +153,49 @@ Join our [Discord channel](https://discord.gg/WhX2nG6GTQ) or [open an issue](htt
152153/>
153154```
154155
155- [ JSFiddle - Example #1 ] ( https://jsfiddle.net/p60t2bs4/ )
156+ [ JSFiddle - Example #1 ] ( https://jsfiddle.net/p60t2bs4/2/ )
156157
157158### Toggle with labels
158159
159160``` vue
160161<Toggle
161162 v-model="value"
163+ id="example2"
162164 on-label="On"
163165 off-label="Off"
164- id="example2"
165166/>
166167```
167168
168- [ JSFiddle - Example #2 ] ( https://jsfiddle.net/p60t2bs4/ )
169+ [ JSFiddle - Example #2 ] ( https://jsfiddle.net/p60t2bs4/2/ )
170+
171+ ### Toggle with custom values
172+
173+ ``` vue
174+ <Toggle
175+ v-model="value"
176+ id="example3"
177+ true-value="on"
178+ false-value="off"
179+ />
180+ ```
181+
182+ [ JSFiddle - Example #3 ] ( https://jsfiddle.net/p60t2bs4/2/ )
169183
170- ### Toggle with custom stylesg
184+ ### Toggle with custom styles
171185
172186``` vue
173187<Toggle
174188 v-model="value"
189+ id="example4"
175190 font-size="15px"
176191 on-background="#35495e"
177- id="example3"
178192 :width="80"
179193 :height="30"
180194 :speed="500"
181195/>
182196```
183197
184- [ JSFiddle - Example #3 ] ( https://jsfiddle.net/p60t2bs4/ )
198+ [ JSFiddle - Example #4 ] ( https://jsfiddle.net/p60t2bs4/2 / )
185199
186200## About Vueform
187201
You can’t perform that action at this time.
0 commit comments