bootstrap5-toggle 5.3.1 → 5.3.2
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 +6 -6
- package/css/bootstrap5-toggle.css +1 -1
- package/css/bootstrap5-toggle.min.css +1 -1
- package/dist/bootstrap5-toggle.cjs +1 -1
- package/dist/bootstrap5-toggle.d.ts +3 -3
- package/dist/bootstrap5-toggle.mjs +1 -1
- package/js/bootstrap5-toggle.ecmas.js +1 -1
- package/js/bootstrap5-toggle.ecmas.min.js +1 -1
- package/js/bootstrap5-toggle.jquery.js +1 -1
- package/js/bootstrap5-toggle.jquery.min.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,18 +73,18 @@ See EOL for each version in [Security Policy Page](https://github.com/palcarazm/
|
|
|
73
73
|
|
|
74
74
|
```html
|
|
75
75
|
<link
|
|
76
|
-
href="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.3.
|
|
76
|
+
href="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.3.2/css/bootstrap5-toggle.min.css"
|
|
77
77
|
rel="stylesheet" />
|
|
78
|
-
<script src="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.3.
|
|
78
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.3.2/js/bootstrap5-toggle.ecmas.min.js"></script>
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
### jQuery Interface
|
|
82
82
|
|
|
83
83
|
```html
|
|
84
84
|
<link
|
|
85
|
-
href="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.3.
|
|
85
|
+
href="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.3.2/css/bootstrap5-toggle.min.css"
|
|
86
86
|
rel="stylesheet" />
|
|
87
|
-
<script src="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.3.
|
|
87
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap5-toggle@5.3.2/js/bootstrap5-toggle.jquery.min.js"></script>
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
## Download
|
|
@@ -96,13 +96,13 @@ See EOL for each version in [Security Policy Page](https://github.com/palcarazm/
|
|
|
96
96
|
[](https://www.npmjs.com/package/bootstrap5-toggle)
|
|
97
97
|
|
|
98
98
|
```ksh
|
|
99
|
-
npm install bootstrap5-toggle@5.3.
|
|
99
|
+
npm install bootstrap5-toggle@5.3.2
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
## Yarn
|
|
103
103
|
|
|
104
104
|
```ksh
|
|
105
|
-
yarn add bootstrap5-toggle@5.3.
|
|
105
|
+
yarn add bootstrap5-toggle@5.3.2
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
# Usage
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Copyright Notice
|
|
2
|
-
* bootstrap5-toggle v5.3.
|
|
2
|
+
* bootstrap5-toggle v5.3.2
|
|
3
3
|
* https://palcarazm.github.io/bootstrap5-toggle/
|
|
4
4
|
* @author 2011-2014 Min Hur (https://github.com/minhur)
|
|
5
5
|
* @author 2018-2019 Brent Ely (https://github.com/gitbrent)
|
|
@@ -357,11 +357,11 @@ declare enum ToggleMethods {
|
|
|
357
357
|
RERENDER = "rerender"
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
-
interface BootstrapToggleElement {
|
|
360
|
+
interface BootstrapToggleElement extends HTMLInputElement {
|
|
361
361
|
bootstrapToggle(options?: ToggleMethods | Record<string, unknown>, silent?: boolean): void;
|
|
362
362
|
bsToggle?: Toggle;
|
|
363
363
|
}
|
|
364
|
-
interface BootstrapToggleElementEventMap {
|
|
364
|
+
interface BootstrapToggleElementEventMap extends HTMLElementEventMap {
|
|
365
365
|
"toggle:on": CustomEvent<ToggleEventDetail>;
|
|
366
366
|
"toggle:off": CustomEvent<ToggleEventDetail>;
|
|
367
367
|
"toggle:mixed": CustomEvent<ToggleEventDetail>;
|