intelliwaketssveltekitv25 0.1.108 → 0.1.110
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/dist/Functions.d.ts +2 -1
- package/dist/Functions.js +2 -3
- package/package.json +1 -1
package/dist/Functions.d.ts
CHANGED
|
@@ -137,7 +137,8 @@ export declare function textAreaAltEnter(el: HTMLTextAreaElement): {
|
|
|
137
137
|
destroy(): void;
|
|
138
138
|
};
|
|
139
139
|
/**
|
|
140
|
-
* A Svelte "Use Action" for a <textarea> object that stops propagation of the Enter key
|
|
140
|
+
* A Svelte "Use Action" for a <textarea> object that stops propagation of the Enter key
|
|
141
|
+
* Usage <textarea use:textAreaEnterStopPropagation />
|
|
141
142
|
*
|
|
142
143
|
* @param el
|
|
143
144
|
*/
|
package/dist/Functions.js
CHANGED
|
@@ -415,7 +415,8 @@ export function textAreaAltEnter(el) {
|
|
|
415
415
|
};
|
|
416
416
|
}
|
|
417
417
|
/**
|
|
418
|
-
* A Svelte "Use Action" for a <textarea> object that stops propagation of the Enter key
|
|
418
|
+
* A Svelte "Use Action" for a <textarea> object that stops propagation of the Enter key
|
|
419
|
+
* Usage <textarea use:textAreaEnterStopPropagation />
|
|
419
420
|
*
|
|
420
421
|
* @param el
|
|
421
422
|
*/
|
|
@@ -425,11 +426,9 @@ export function textAreaEnterStopPropagation(el) {
|
|
|
425
426
|
e.stopPropagation();
|
|
426
427
|
}
|
|
427
428
|
};
|
|
428
|
-
// el.addEventListener('focus', handleFocus)
|
|
429
429
|
el.addEventListener('keydown', handleKeyDown);
|
|
430
430
|
return {
|
|
431
431
|
destroy() {
|
|
432
|
-
// el.removeEventListener('focus', handleFocus)
|
|
433
432
|
el.removeEventListener('keydown', handleKeyDown);
|
|
434
433
|
}
|
|
435
434
|
};
|