@egjs/flicking 4.12.0-beta.6 → 4.12.0-beta.7
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/flicking.cjs.js +14 -16
- package/dist/flicking.cjs.js.map +1 -1
- package/dist/flicking.esm.js +14 -16
- package/dist/flicking.esm.js.map +1 -1
- package/dist/flicking.js +14 -16
- package/dist/flicking.js.map +1 -1
- package/dist/flicking.min.js +2 -2
- package/dist/flicking.min.js.map +1 -1
- package/dist/flicking.pkgd.js +14 -16
- package/dist/flicking.pkgd.js.map +1 -1
- package/dist/flicking.pkgd.min.js +2 -2
- package/dist/flicking.pkgd.min.js.map +1 -1
- package/package.json +2 -1
- package/src/CrossFlicking.ts +11 -13
package/dist/flicking.pkgd.js
CHANGED
|
@@ -4,7 +4,7 @@ name: @egjs/flicking
|
|
|
4
4
|
license: MIT
|
|
5
5
|
author: NAVER Corp.
|
|
6
6
|
repository: https://github.com/naver/egjs-flicking
|
|
7
|
-
version: 4.12.0-beta.
|
|
7
|
+
version: 4.12.0-beta.7
|
|
8
8
|
*/
|
|
9
9
|
(function (global, factory) {
|
|
10
10
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -13026,7 +13026,7 @@ version: 4.12.0-beta.6
|
|
|
13026
13026
|
* Flicking.VERSION; // ex) 4.0.0
|
|
13027
13027
|
* ```
|
|
13028
13028
|
*/
|
|
13029
|
-
Flicking.VERSION = "4.12.0-beta.
|
|
13029
|
+
Flicking.VERSION = "4.12.0-beta.7";
|
|
13030
13030
|
return Flicking;
|
|
13031
13031
|
}(Component);
|
|
13032
13032
|
|
|
@@ -13075,21 +13075,19 @@ version: 4.12.0-beta.6
|
|
|
13075
13075
|
_this._nextIndex = visiblePanels[0].index;
|
|
13076
13076
|
}
|
|
13077
13077
|
// _syncToCategory에서 완전히 가로 이동이 이루어지기 전에 세로 방향 index가 변하는 경우가 있어 timeout으로 처리
|
|
13078
|
-
|
|
13079
|
-
_this.
|
|
13080
|
-
|
|
13081
|
-
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
|
|
13085
|
-
|
|
13086
|
-
|
|
13087
|
-
|
|
13088
|
-
|
|
13089
|
-
void child.moveTo(end, 0);
|
|
13090
|
-
}
|
|
13078
|
+
_this._sideFlicking.forEach(function (child, i) {
|
|
13079
|
+
if (_this._nextIndex !== i) {
|
|
13080
|
+
var _a = _this._sideState[i],
|
|
13081
|
+
start = _a.start,
|
|
13082
|
+
end = _a.end;
|
|
13083
|
+
if (child.index < start) {
|
|
13084
|
+
child.stopAnimation();
|
|
13085
|
+
void child.moveTo(start, 0);
|
|
13086
|
+
} else if (child.index > end) {
|
|
13087
|
+
child.stopAnimation();
|
|
13088
|
+
void child.moveTo(end, 0);
|
|
13091
13089
|
}
|
|
13092
|
-
}
|
|
13090
|
+
}
|
|
13093
13091
|
});
|
|
13094
13092
|
if (e.isTrusted) {
|
|
13095
13093
|
_this._syncToCategory(_this._sideFlicking[_this._nextIndex].index, _this._nextIndex);
|