@design.estate/dees-domtools 2.3.0 → 2.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/dist_bundle/bundle.js +2 -2
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/domtools.classes.scroller.d.ts +1 -1
- package/dist_ts/domtools.classes.scroller.js +3 -3
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/domtools.classes.scroller.ts +2 -2
package/dist_bundle/bundle.js
CHANGED
|
@@ -40375,7 +40375,7 @@ var Scroller = class {
|
|
|
40375
40375
|
/**
|
|
40376
40376
|
* Scrolls to a given element with options.
|
|
40377
40377
|
*/
|
|
40378
|
-
async
|
|
40378
|
+
async toElement(elementArg, optionsArg) {
|
|
40379
40379
|
this.sweetScroller.toElement(elementArg, optionsArg);
|
|
40380
40380
|
await dist_ts_exports2.delayFor(optionsArg.duration);
|
|
40381
40381
|
}
|
|
@@ -40465,7 +40465,7 @@ var Scroller = class {
|
|
|
40465
40465
|
* Attaches the native scroll event listener.
|
|
40466
40466
|
*/
|
|
40467
40467
|
attachNativeScrollListener() {
|
|
40468
|
-
window.addEventListener("scroll", this.handleNativeScroll
|
|
40468
|
+
window.addEventListener("scroll", this.handleNativeScroll);
|
|
40469
40469
|
}
|
|
40470
40470
|
/**
|
|
40471
40471
|
* Detaches the native scroll event listener.
|