@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/dist/flicking.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.1
7
+ version: 4.9.3
8
8
  */
9
9
  (function (global, factory) {
10
10
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@egjs/component'), require('@egjs/axes'), require('@egjs/imready')) :
@@ -2496,6 +2496,20 @@ version: 4.9.1
2496
2496
  (_a = this._panInput) === null || _a === void 0 ? void 0 : _a.disable();
2497
2497
  return this;
2498
2498
  };
2499
+ /**
2500
+ * Releases ongoing user input (mouse/touch)
2501
+ * @ko 사용자의 현재 입력(마우스/터치)를 중단시킵니다
2502
+ * @chainable
2503
+ * @return {this}
2504
+ */
2505
+
2506
+
2507
+ __proto.release = function () {
2508
+ var _a;
2509
+
2510
+ (_a = this._panInput) === null || _a === void 0 ? void 0 : _a.release();
2511
+ return this;
2512
+ };
2499
2513
  /**
2500
2514
  * Update {@link https://naver.github.io/egjs-axes/ @egjs/axes}'s state
2501
2515
  * @ko {@link https://naver.github.io/egjs-axes/ @egjs/axes}의 상태를 갱신합니다
@@ -2807,6 +2821,19 @@ version: 4.9.1
2807
2821
 
2808
2822
  return this;
2809
2823
  };
2824
+ /**
2825
+ * Releases ongoing user input (mouse/touch)
2826
+ * @ko 사용자의 현재 입력(마우스/터치)를 중단시킵니다
2827
+ * @chainable
2828
+ * @return {this}
2829
+ */
2830
+
2831
+
2832
+ __proto.release = function () {
2833
+ this._controller.release();
2834
+
2835
+ return this;
2836
+ };
2810
2837
  /**
2811
2838
  * Update position after resizing
2812
2839
  * @ko resize 이후에 position을 업데이트합니다
@@ -8094,6 +8121,10 @@ version: 4.9.1
8094
8121
  return Promise.reject(new FlickingError(MESSAGE.ANIMATION_ALREADY_PLAYING, CODE.ANIMATION_ALREADY_PLAYING));
8095
8122
  }
8096
8123
 
8124
+ if (this._control.holding) {
8125
+ this._control.controller.release();
8126
+ }
8127
+
8097
8128
  return this._control.moveToPanel(panel, {
8098
8129
  duration: duration,
8099
8130
  direction: direction
@@ -8642,7 +8673,7 @@ version: 4.9.1
8642
8673
  */
8643
8674
 
8644
8675
 
8645
- Flicking.VERSION = "4.9.1";
8676
+ Flicking.VERSION = "4.9.3";
8646
8677
  return Flicking;
8647
8678
  }(Component);
8648
8679