@egjs/flicking 4.12.0-beta.10 → 4.12.0-beta.11

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.12.0-beta.10
7
+ version: 4.12.0-beta.11
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')) :
@@ -1640,6 +1640,9 @@ version: 4.12.0-beta.10
1640
1640
  axesEvent = ctx.axesEvent,
1641
1641
  transitTo = ctx.transitTo;
1642
1642
  var inputEvent = axesEvent.inputEvent;
1643
+ if (!inputEvent) {
1644
+ return;
1645
+ }
1643
1646
  var offset = flicking.horizontal ? inputEvent.offsetX : inputEvent.offsetY;
1644
1647
  var moveStartEvent = new Component.ComponentEvent(EVENTS.MOVE_START, {
1645
1648
  isTrusted: axesEvent.isTrusted,
@@ -5533,6 +5536,9 @@ version: 4.12.0-beta.10
5533
5536
  var flicking = this._flicking;
5534
5537
  var horizontal = flicking.horizontal,
5535
5538
  useFractionalSize = flicking.useFractionalSize;
5539
+ if (!el) {
5540
+ return this;
5541
+ }
5536
5542
  if (cached) {
5537
5543
  this._size = cached.size;
5538
5544
  this._margin = __assign({}, cached.margin);
@@ -8008,7 +8014,7 @@ version: 4.12.0-beta.10
8008
8014
  * Flicking.VERSION; // ex) 4.0.0
8009
8015
  * ```
8010
8016
  */
8011
- Flicking.VERSION = "4.12.0-beta.10";
8017
+ Flicking.VERSION = "4.12.0-beta.11";
8012
8018
  return Flicking;
8013
8019
  }(Component);
8014
8020
 
@@ -8019,7 +8025,9 @@ version: 4.12.0-beta.10
8019
8025
  MOVE: "sideMove",
8020
8026
  MOVE_END: "sideMoveEnd",
8021
8027
  WILL_CHANGE: "sideWillChange",
8022
- CHANGED: "sideChanged"
8028
+ CHANGED: "sideChanged",
8029
+ WILL_RESTORE: "sideWillRestore",
8030
+ RESTORED: "sideRestored"
8023
8031
  };
8024
8032
  var CrossFlicking = /*#__PURE__*/function (_super) {
8025
8033
  __extends(CrossFlicking, _super);