File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import VueToggle from "@vue-toggle-component";
2828```
2929### Vue version support
3030
31- The main v2 version supports Vue 3.x only, for previous versions of Vue, check the following the table.
31+ The main v1 version supports Vue 3.x only, for previous versions of Vue, check the following the table.
3232
3333| vue Version | vue-toggle-component version |
3434| ----------- | ---------------------------- |
Original file line number Diff line number Diff line change 11<template >
22 <section class =" wrapper" :class =" {dark: darkTheme}" :title =" title" >
33 <input
4- :id =" id"
5- :name =" name"
6- v-model =" toggleState"
7- class =" toggle"
8- type =" checkbox"
9- @click =" toggleState = !toggleState"
4+ :id =" id"
5+ :name =" name"
6+ v-model =" toggleState"
7+ class =" toggle"
8+ type =" checkbox"
9+ @click =" toggleState = !toggleState"
1010 />
1111 <label :for =" id" class =" toggler" :style =" [toggleState && {'background': activeColor}]" />
1212 <span class =" title" v-text =" title" @click =" toggleState = !toggleState" />
You can’t perform that action at this time.
0 commit comments