@artisfy/switchjs
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -317,3 +317,3 @@ // Turn on, off, or toggle multiple switches by clicking an action trigger element | ||
// E.g. | ||
// Switches.when("toggle", "switchName", switchElem, callback); | ||
// Switches.when({switchAction: "toggle", switchName, switchElem, callback}); | ||
// ------- | ||
@@ -324,4 +324,4 @@ // return values: | ||
// ------- | ||
// Warning: the toggle action triggers two callbacks at the same time: toggle, as well as on/off | ||
// so, if you don't pass in an actionType parameter, your callback will be called twice | ||
// Warning: the toggle action triggers two callbacks at the same time: toggle, as well as on/off. | ||
// so, if you don't pass in an actionType parameter, your callback might be called twice | ||
function when (switchObj) { | ||
@@ -328,0 +328,0 @@ callbackList.push(switchObj); |
{ | ||
"name": "@artisfy/switchjs", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Turn on, off, or toggle multiple switches by clicking an action trigger element", | ||
@@ -10,6 +10,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"@artisfy/hummingbird": "^1.0.0", | ||
"@artisfy/parse-data-attributes": "^1.0.0", | ||
"@artisfy/queryjs": "^1.0.0" | ||
"@artisfy/hummingbird": "*", | ||
"@artisfy/parse-data-attributes": "*", | ||
"@artisfy/queryjs": "*" | ||
} | ||
} |
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 3 instances in 1 package
14168
5
Updated@artisfy/hummingbird@*
Updated@artisfy/queryjs@*