@interactjs/auto-start
Advanced tools
Comparing version 1.9.22 to 1.10.0
@@ -21,8 +21,2 @@ import is from "../utils/is.js"; | ||
/** | ||
* ```js | ||
* interact(element, { ignoreFrom: document.getElementById('no-action') }) | ||
* // or | ||
* interact(element).ignoreFrom('input, textarea, a') | ||
* ``` | ||
* @deprecated | ||
* If the target of the `mousedown`, `pointerdown` or `touchstart` event or any | ||
@@ -32,6 +26,7 @@ * of it's parents match the given CSS selector or Element, no | ||
* | ||
* @deprecated | ||
* Don't use this method. Instead set the `ignoreFrom` option for each action | ||
* or for `pointerEvents` | ||
* | ||
* @example | ||
* ```js | ||
* interact(targett) | ||
@@ -44,2 +39,3 @@ * .draggable({ | ||
* }) | ||
* ``` | ||
* | ||
@@ -57,3 +53,2 @@ * @param {string | Element | null} [newValue] a CSS selector string, an | ||
/** | ||
* @deprecated | ||
* | ||
@@ -64,6 +59,7 @@ * A drag/resize/gesture is started only If the target of the `mousedown`, | ||
* | ||
* @deprecated | ||
* Don't use this method. Instead set the `allowFrom` option for each action | ||
* or for `pointerEvents` | ||
* | ||
* @example | ||
* ```js | ||
* interact(targett) | ||
@@ -75,2 +71,3 @@ * .resizable({ | ||
* }) | ||
* ``` | ||
* | ||
@@ -93,13 +90,13 @@ * @param {string | Element | null} [newValue] a CSS selector string, an | ||
* | ||
* if (interact.matchesSelector(event.target, '.drag-handle')) { | ||
* // force drag with handle target | ||
* action.name = drag | ||
* } | ||
* else { | ||
* // resize from the top and right edges | ||
* action.name = 'resize' | ||
* action.edges = { top: true, right: true } | ||
* } | ||
* if (interact.matchesSelector(event.target, '.drag-handle')) { | ||
* // force drag with handle target | ||
* action.name = drag | ||
* } | ||
* else { | ||
* // resize from the top and right edges | ||
* action.name = 'resize' | ||
* action.edges = { top: true, right: true } | ||
* } | ||
* | ||
* return action | ||
* return action | ||
* }) | ||
@@ -106,0 +103,0 @@ * ``` |
{ | ||
"name": "@interactjs/auto-start", | ||
"version": "1.9.22", | ||
"version": "1.10.0", | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"@interactjs/core": "1.9.22", | ||
"@interactjs/utils": "1.9.22" | ||
"@interactjs/core": "1.10.0", | ||
"@interactjs/utils": "1.10.0" | ||
}, | ||
"optionalDependencies": { | ||
"@interactjs/interact": "1.9.22" | ||
"@interactjs/interact": "1.10.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
}, | ||
"sideEffects": [ | ||
"**/index.js", | ||
"**/index.prod.js" | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102507
585