@egjs/flicking 4.9.1 → 4.9.3
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/declaration/control/AxesController.d.ts +1 -0
- package/declaration/control/Control.d.ts +1 -0
- package/dist/flicking.esm.js +33 -2
- package/dist/flicking.esm.js.map +1 -1
- package/dist/flicking.js +33 -2
- 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 +541 -232
- 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 -2
- package/src/Flicking.ts +4 -0
- package/src/control/AxesController.ts +12 -0
- package/src/control/Control.ts +12 -0
package/dist/flicking.esm.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.9.
|
|
7
|
+
version: 4.9.3
|
|
8
8
|
*/
|
|
9
9
|
import Component, { ComponentEvent } from '@egjs/component';
|
|
10
10
|
import Axes, { PanInput } from '@egjs/axes';
|
|
@@ -2450,6 +2450,20 @@ function () {
|
|
|
2450
2450
|
(_a = this._panInput) === null || _a === void 0 ? void 0 : _a.disable();
|
|
2451
2451
|
return this;
|
|
2452
2452
|
};
|
|
2453
|
+
/**
|
|
2454
|
+
* Releases ongoing user input (mouse/touch)
|
|
2455
|
+
* @ko 사용자의 현재 입력(마우스/터치)를 중단시킵니다
|
|
2456
|
+
* @chainable
|
|
2457
|
+
* @return {this}
|
|
2458
|
+
*/
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
__proto.release = function () {
|
|
2462
|
+
var _a;
|
|
2463
|
+
|
|
2464
|
+
(_a = this._panInput) === null || _a === void 0 ? void 0 : _a.release();
|
|
2465
|
+
return this;
|
|
2466
|
+
};
|
|
2453
2467
|
/**
|
|
2454
2468
|
* Update {@link https://naver.github.io/egjs-axes/ @egjs/axes}'s state
|
|
2455
2469
|
* @ko {@link https://naver.github.io/egjs-axes/ @egjs/axes}의 상태를 갱신합니다
|
|
@@ -2761,6 +2775,19 @@ function () {
|
|
|
2761
2775
|
|
|
2762
2776
|
return this;
|
|
2763
2777
|
};
|
|
2778
|
+
/**
|
|
2779
|
+
* Releases ongoing user input (mouse/touch)
|
|
2780
|
+
* @ko 사용자의 현재 입력(마우스/터치)를 중단시킵니다
|
|
2781
|
+
* @chainable
|
|
2782
|
+
* @return {this}
|
|
2783
|
+
*/
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
__proto.release = function () {
|
|
2787
|
+
this._controller.release();
|
|
2788
|
+
|
|
2789
|
+
return this;
|
|
2790
|
+
};
|
|
2764
2791
|
/**
|
|
2765
2792
|
* Update position after resizing
|
|
2766
2793
|
* @ko resize 이후에 position을 업데이트합니다
|
|
@@ -8000,6 +8027,10 @@ function (_super) {
|
|
|
8000
8027
|
return Promise.reject(new FlickingError(MESSAGE.ANIMATION_ALREADY_PLAYING, CODE.ANIMATION_ALREADY_PLAYING));
|
|
8001
8028
|
}
|
|
8002
8029
|
|
|
8030
|
+
if (this._control.holding) {
|
|
8031
|
+
this._control.controller.release();
|
|
8032
|
+
}
|
|
8033
|
+
|
|
8003
8034
|
return this._control.moveToPanel(panel, {
|
|
8004
8035
|
duration: duration,
|
|
8005
8036
|
direction: direction
|
|
@@ -8548,7 +8579,7 @@ function (_super) {
|
|
|
8548
8579
|
*/
|
|
8549
8580
|
|
|
8550
8581
|
|
|
8551
|
-
Flicking.VERSION = "4.9.
|
|
8582
|
+
Flicking.VERSION = "4.9.3";
|
|
8552
8583
|
return Flicking;
|
|
8553
8584
|
}(Component);
|
|
8554
8585
|
|