@egjs/flicking 4.5.0 → 4.5.1
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/StrictControl.d.ts +1 -0
- package/dist/flicking.esm.js +19 -3
- package/dist/flicking.esm.js.map +1 -1
- package/dist/flicking.js +19 -3
- 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 +19 -3
- 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/cfc/withFlickingMethods.ts +2 -1
- package/src/control/StrictControl.ts +10 -0
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.5.
|
|
7
|
+
version: 4.5.1
|
|
8
8
|
*/
|
|
9
9
|
(function (global, factory) {
|
|
10
10
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -9924,6 +9924,21 @@ version: 4.5.0
|
|
|
9924
9924
|
};
|
|
9925
9925
|
return this;
|
|
9926
9926
|
};
|
|
9927
|
+
|
|
9928
|
+
__proto.moveToPanel = function (panel, options) {
|
|
9929
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9930
|
+
var flicking, camera, controller;
|
|
9931
|
+
return __generator(this, function (_a) {
|
|
9932
|
+
flicking = getFlickingAttached(this._flicking);
|
|
9933
|
+
camera = flicking.camera;
|
|
9934
|
+
controller = this._controller;
|
|
9935
|
+
controller.update(camera.controlParams);
|
|
9936
|
+
return [2
|
|
9937
|
+
/*return*/
|
|
9938
|
+
, _super.prototype.moveToPanel.call(this, panel, options)];
|
|
9939
|
+
});
|
|
9940
|
+
});
|
|
9941
|
+
};
|
|
9927
9942
|
/**
|
|
9928
9943
|
* Move {@link Camera} to the given position
|
|
9929
9944
|
* @ko {@link Camera}를 주어진 좌표로 이동합니다
|
|
@@ -15748,7 +15763,7 @@ version: 4.5.0
|
|
|
15748
15763
|
*/
|
|
15749
15764
|
|
|
15750
15765
|
|
|
15751
|
-
Flicking.VERSION = "4.5.
|
|
15766
|
+
Flicking.VERSION = "4.5.1";
|
|
15752
15767
|
return Flicking;
|
|
15753
15768
|
}(Component$1);
|
|
15754
15769
|
|
|
@@ -15814,7 +15829,8 @@ version: 4.5.0
|
|
|
15814
15829
|
getterDescriptor.get = function () {
|
|
15815
15830
|
var _a;
|
|
15816
15831
|
|
|
15817
|
-
|
|
15832
|
+
var flicking = this[flickingName];
|
|
15833
|
+
return flicking && ((_a = descriptor.get) === null || _a === void 0 ? void 0 : _a.call(flicking));
|
|
15818
15834
|
};
|
|
15819
15835
|
}
|
|
15820
15836
|
|