bootstrap5-toggle 5.2.0-rc2 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -12
- package/README.template.md +11 -6
- package/css/bootstrap5-toggle.css +1 -1
- package/css/bootstrap5-toggle.min.css +1 -1
- package/js/bootstrap5-toggle.ecmas.js +343 -154
- package/js/bootstrap5-toggle.ecmas.js.map +1 -1
- package/js/bootstrap5-toggle.ecmas.min.js +2 -2
- package/js/bootstrap5-toggle.ecmas.min.js.map +1 -1
- package/js/bootstrap5-toggle.jquery.js +341 -152
- package/js/bootstrap5-toggle.jquery.js.map +1 -1
- package/js/bootstrap5-toggle.jquery.min.js +2 -2
- package/js/bootstrap5-toggle.jquery.min.js.map +1 -1
- package/package.json +18 -9
package/README.md
CHANGED
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
[](https://getbootstrap.com/docs/5.0)
|
|
4
4
|
[](https://www.jsdelivr.com/package/npm/bootstrap5-toggle)
|
|
5
5
|
[](https://www.npmjs.com/package/bootstrap5-toggle)
|
|
6
|
-
[](https://coveralls.io/github/palcarazm/bootstrap5-toggle?branch=v5)
|
|
7
|
-
[](https://snyk.io/advisor/npm-package/bootstrap5-toggle)
|
|
8
6
|
[](https://github.com/palcarazm/bootstrap5-toggle/security/policy)
|
|
9
7
|
[](https://github.com/sponsors/palcarazm)
|
|
10
8
|
|
|
9
|
+
[](https://coveralls.io/github/palcarazm/bootstrap5-toggle?branch=v5)
|
|
10
|
+
[](https://sonarcloud.io/summary/new_code?id=palcarazm_bootstrap5-toggle)
|
|
11
|
+
[](https://sonarcloud.io/summary/new_code?id=palcarazm_bootstrap5-toggle)
|
|
12
|
+
[](https://sonarcloud.io/summary/new_code?id=palcarazm_bootstrap5-toggle)
|
|
13
|
+
[](https://snyk.io/advisor/npm-package/bootstrap5-toggle)
|
|
14
|
+
|
|
15
|
+
|
|
11
16
|
# Bootstrap 5 Toggle
|
|
12
17
|
|
|
13
18
|
**Bootstrap 5 Toggle** is a bootstrap plugin/widget that converts checkboxes into toggles.
|
|
@@ -68,18 +73,18 @@ See EOL for each version in [Security Policy Page](https://github.com/palcarazm/
|
|
|
68
73
|
|
|
69
74
|
```html
|
|
70
75
|
<link
|
|
71
|
-
href="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.2.0
|
|
76
|
+
href="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.2.0/css/bootstrap5-toggle.min.css"
|
|
72
77
|
rel="stylesheet" />
|
|
73
|
-
<script src="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.2.0
|
|
78
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.2.0/js/bootstrap5-toggle.ecmas.min.js"></script>
|
|
74
79
|
```
|
|
75
80
|
|
|
76
81
|
### jQuery Interface
|
|
77
82
|
|
|
78
83
|
```html
|
|
79
84
|
<link
|
|
80
|
-
href="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.2.0
|
|
85
|
+
href="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.2.0/css/bootstrap5-toggle.min.css"
|
|
81
86
|
rel="stylesheet" />
|
|
82
|
-
<script src="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.2.0
|
|
87
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.2.0/js/bootstrap5-toggle.jquery.min.js"></script>
|
|
83
88
|
```
|
|
84
89
|
|
|
85
90
|
## Download
|
|
@@ -91,13 +96,13 @@ See EOL for each version in [Security Policy Page](https://github.com/palcarazm/
|
|
|
91
96
|
[](https://www.npmjs.com/package/bootstrap5-toggle)
|
|
92
97
|
|
|
93
98
|
```ksh
|
|
94
|
-
npm install bootstrap5-toggle@5.2.0
|
|
99
|
+
npm install bootstrap5-toggle@5.2.0
|
|
95
100
|
```
|
|
96
101
|
|
|
97
102
|
## Yarn
|
|
98
103
|
|
|
99
104
|
```ksh
|
|
100
|
-
yarn add bootstrap5-toggle@5.2.0
|
|
105
|
+
yarn add bootstrap5-toggle@5.2.0
|
|
101
106
|
```
|
|
102
107
|
|
|
103
108
|
# Usage
|
|
@@ -269,10 +274,10 @@ This also means that using the API or Input to trigger events will work both way
|
|
|
269
274
|
|
|
270
275
|
# Collaborators welcom!
|
|
271
276
|
|
|
272
|
-
- :sos:
|
|
273
|
-
- :bug:
|
|
274
|
-
- :bulb:
|
|
275
|
-
- :computer:
|
|
277
|
+
- :sos: Do you need some help? Open a thread in [GitHub Discussions Q&A](https://github.com/palcarazm/bootstrap5-toggle/discussions/new?category=q-a)
|
|
278
|
+
- :bug: Do you find a bug? Open an issue in [GitHub bug report](https://github.com/palcarazm/bootstrap5-toggle/issues/new?template=01-BUG_REPORT.yml)
|
|
279
|
+
- :bulb: Do you have a great idea? Open an issue in [GitHub feature request](https://github.com/palcarazm/bootstrap5-toggle/issues/new?template=02-FEATURE_REQUEST.yml)
|
|
280
|
+
- :computer: Do you know how to fix a bug? Open a pull request in [GitHub pull request](https://github.com/palcarazm/bootstrap5-toggle/compare).
|
|
276
281
|
|
|
277
282
|
[](https://github.com/palcarazm/bootstrap5-toggle/graphs/contributors)
|
|
278
283
|
|
package/README.template.md
CHANGED
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
[](https://getbootstrap.com/docs/5.0)
|
|
4
4
|
[](https://www.jsdelivr.com/package/npm/bootstrap5-toggle)
|
|
5
5
|
[](https://www.npmjs.com/package/bootstrap5-toggle)
|
|
6
|
-
[](https://coveralls.io/github/palcarazm/bootstrap5-toggle?branch=v5)
|
|
7
|
-
[](https://snyk.io/advisor/npm-package/bootstrap5-toggle)
|
|
8
6
|
[](https://github.com/palcarazm/bootstrap5-toggle/security/policy)
|
|
9
7
|
[](https://github.com/sponsors/palcarazm)
|
|
10
8
|
|
|
9
|
+
[](https://coveralls.io/github/palcarazm/bootstrap5-toggle?branch=v5)
|
|
10
|
+
[](https://sonarcloud.io/summary/new_code?id=palcarazm_bootstrap5-toggle)
|
|
11
|
+
[](https://sonarcloud.io/summary/new_code?id=palcarazm_bootstrap5-toggle)
|
|
12
|
+
[](https://sonarcloud.io/summary/new_code?id=palcarazm_bootstrap5-toggle)
|
|
13
|
+
[](https://snyk.io/advisor/npm-package/bootstrap5-toggle)
|
|
14
|
+
|
|
15
|
+
|
|
11
16
|
# Bootstrap 5 Toggle
|
|
12
17
|
|
|
13
18
|
**Bootstrap 5 Toggle** is a bootstrap plugin/widget that converts checkboxes into toggles.
|
|
@@ -271,10 +276,10 @@ This also means that using the API or Input to trigger events will work both way
|
|
|
271
276
|
|
|
272
277
|
# Collaborators welcom!
|
|
273
278
|
|
|
274
|
-
- :sos:
|
|
275
|
-
- :bug:
|
|
276
|
-
- :bulb:
|
|
277
|
-
- :computer:
|
|
279
|
+
- :sos: Do you need some help? Open a thread in [GitHub Discussions Q&A](https://github.com/palcarazm/bootstrap5-toggle/discussions/new?category=q-a)
|
|
280
|
+
- :bug: Do you find a bug? Open an issue in [GitHub bug report](https://github.com/palcarazm/bootstrap5-toggle/issues/new?template=01-BUG_REPORT.yml)
|
|
281
|
+
- :bulb: Do you have a great idea? Open an issue in [GitHub feature request](https://github.com/palcarazm/bootstrap5-toggle/issues/new?template=02-FEATURE_REQUEST.yml)
|
|
282
|
+
- :computer: Do you know how to fix a bug? Open a pull request in [GitHub pull request](https://github.com/palcarazm/bootstrap5-toggle/compare).
|
|
278
283
|
|
|
279
284
|
[](https://github.com/palcarazm/bootstrap5-toggle/graphs/contributors)
|
|
280
285
|
|