@egjs/flicking 4.11.4-beta.0 → 4.11.5-beta.0

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.
Files changed (74) hide show
  1. package/declaration/Flicking.d.ts +242 -240
  2. package/declaration/camera/Camera.d.ts +89 -89
  3. package/declaration/camera/index.d.ts +4 -4
  4. package/declaration/camera/mode/BoundCameraMode.d.ts +13 -13
  5. package/declaration/camera/mode/CameraMode.d.ts +20 -20
  6. package/declaration/camera/mode/CircularCameraMode.d.ts +19 -19
  7. package/declaration/camera/mode/LinearCameraMode.d.ts +9 -9
  8. package/declaration/camera/mode/index.d.ts +6 -6
  9. package/declaration/cfc/getDefaultCameraTransform.d.ts +3 -3
  10. package/declaration/cfc/getRenderingPanels.d.ts +4 -4
  11. package/declaration/cfc/index.d.ts +5 -5
  12. package/declaration/cfc/sync.d.ts +4 -4
  13. package/declaration/cfc/withFlickingMethods.d.ts +2 -2
  14. package/declaration/const/axes.d.ts +8 -8
  15. package/declaration/const/error.d.ts +34 -34
  16. package/declaration/const/external.d.ts +48 -48
  17. package/declaration/control/AxesController.d.ts +44 -44
  18. package/declaration/control/Control.d.ts +45 -45
  19. package/declaration/control/FreeControl.d.ts +14 -14
  20. package/declaration/control/SnapControl.d.ts +16 -16
  21. package/declaration/control/StateMachine.d.ts +14 -14
  22. package/declaration/control/StrictControl.d.ts +20 -20
  23. package/declaration/control/index.d.ts +14 -14
  24. package/declaration/control/states/AnimatingState.d.ts +9 -9
  25. package/declaration/control/states/DisabledState.d.ts +9 -9
  26. package/declaration/control/states/DraggingState.d.ts +8 -8
  27. package/declaration/control/states/HoldingState.d.ts +10 -10
  28. package/declaration/control/states/IdleState.d.ts +9 -9
  29. package/declaration/control/states/State.d.ts +47 -47
  30. package/declaration/core/AnchorPoint.d.ts +15 -15
  31. package/declaration/core/AutoResizer.d.ts +16 -16
  32. package/declaration/core/FlickingError.d.ts +5 -5
  33. package/declaration/core/ResizeWatcher.d.ts +33 -33
  34. package/declaration/core/Viewport.d.ts +25 -25
  35. package/declaration/core/VirtualManager.d.ts +37 -37
  36. package/declaration/core/index.d.ts +6 -6
  37. package/declaration/core/panel/Panel.d.ts +89 -89
  38. package/declaration/core/panel/VirtualPanel.d.ts +19 -19
  39. package/declaration/core/panel/index.d.ts +5 -5
  40. package/declaration/core/panel/provider/ElementProvider.d.ts +8 -8
  41. package/declaration/core/panel/provider/VanillaElementProvider.d.ts +12 -12
  42. package/declaration/core/panel/provider/VirtualElementProvider.d.ts +15 -15
  43. package/declaration/core/panel/provider/index.d.ts +5 -5
  44. package/declaration/index.cjs.d.ts +3 -3
  45. package/declaration/index.d.ts +13 -13
  46. package/declaration/index.umd.d.ts +2 -2
  47. package/declaration/renderer/ExternalRenderer.d.ts +7 -7
  48. package/declaration/renderer/Renderer.d.ts +59 -59
  49. package/declaration/renderer/VanillaRenderer.d.ts +10 -10
  50. package/declaration/renderer/index.d.ts +6 -6
  51. package/declaration/renderer/strategy/NormalRenderingStrategy.d.ts +23 -23
  52. package/declaration/renderer/strategy/RenderingStrategy.d.ts +15 -15
  53. package/declaration/renderer/strategy/VirtualRenderingStrategy.d.ts +17 -17
  54. package/declaration/renderer/strategy/index.d.ts +5 -5
  55. package/declaration/type/event.d.ts +88 -88
  56. package/declaration/type/external.d.ts +31 -31
  57. package/declaration/type/internal.d.ts +13 -13
  58. package/declaration/utils.d.ts +45 -45
  59. package/dist/flicking.cjs.js +19 -5
  60. package/dist/flicking.cjs.js.map +1 -1
  61. package/dist/flicking.esm.js +19 -5
  62. package/dist/flicking.esm.js.map +1 -1
  63. package/dist/flicking.js +19 -5
  64. package/dist/flicking.js.map +1 -1
  65. package/dist/flicking.min.js +2 -2
  66. package/dist/flicking.min.js.map +1 -1
  67. package/dist/flicking.pkgd.js +769 -755
  68. package/dist/flicking.pkgd.js.map +1 -1
  69. package/dist/flicking.pkgd.min.js +2 -2
  70. package/dist/flicking.pkgd.min.js.map +1 -1
  71. package/package.json +2 -2
  72. package/src/Flicking.ts +1 -0
  73. package/src/core/AutoResizer.ts +5 -2
  74. package/src/renderer/Renderer.ts +4 -0
@@ -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.11.4-beta.0
7
+ version: 4.11.5-beta.0
8
8
  */
9
9
  (function (global, factory) {
10
10
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -1424,9 +1424,13 @@ version: 4.11.4-beta.0
1424
1424
  }
1425
1425
  if (flicking.useResizeObserver && !!window.ResizeObserver) {
1426
1426
  var viewportSizeNot0 = viewport.width !== 0 || viewport.height !== 0;
1427
- var resizeObserver = viewportSizeNot0 ? new ResizeObserver(this._skipFirstResize) : new ResizeObserver(this._onResize);
1428
- resizeObserver.observe(flicking.viewport.element);
1429
- this._resizeObserver = resizeObserver;
1427
+ var resizeObserver_1 = viewportSizeNot0 ? new ResizeObserver(this._skipFirstResize) : new ResizeObserver(this._onResize);
1428
+ __spread$1([flicking.viewport.element], flicking.camera.element ? [flicking.camera.element] : [], flicking.panels.map(function (panel) {
1429
+ return panel.element;
1430
+ })).forEach(function (element) {
1431
+ resizeObserver_1.observe(element);
1432
+ });
1433
+ this._resizeObserver = resizeObserver_1;
1430
1434
  } else {
1431
1435
  window.addEventListener("resize", this._onResize);
1432
1436
  }
@@ -2659,7 +2663,7 @@ version: 4.11.4-beta.0
2659
2663
  license: MIT
2660
2664
  author: NAVER Corp.
2661
2665
  repository: https://github.com/naver/egjs-axes
2662
- version: 3.9.1-beta.0
2666
+ version: 3.9.1
2663
2667
  */
2664
2668
 
2665
2669
  /*! *****************************************************************************
@@ -2713,9 +2717,9 @@ version: 4.11.4-beta.0
2713
2717
  return c > 3 && r && Object.defineProperty(target, key, r), r;
2714
2718
  }
2715
2719
 
2716
- /*
2717
- * Copyright (c) 2015 NAVER Corp.
2718
- * egjs projects are licensed under the MIT license
2720
+ /*
2721
+ * Copyright (c) 2015 NAVER Corp.
2722
+ * egjs projects are licensed under the MIT license
2719
2723
  */
2720
2724
  /* eslint-disable no-new-func, no-nested-ternary */
2721
2725
  var win;
@@ -2730,9 +2734,9 @@ version: 4.11.4-beta.0
2730
2734
  win = window;
2731
2735
  }
2732
2736
 
2733
- /*
2734
- * Copyright (c) 2015 NAVER Corp.
2735
- * egjs projects are licensed under the MIT license
2737
+ /*
2738
+ * Copyright (c) 2015 NAVER Corp.
2739
+ * egjs projects are licensed under the MIT license
2736
2740
  */
2737
2741
  var DIRECTION_NONE = 1;
2738
2742
  var DIRECTION_LEFT = 2;
@@ -2858,19 +2862,19 @@ version: 4.11.4-beta.0
2858
2862
  };
2859
2863
  caf = win.clearTimeout;
2860
2864
  }
2861
- /**
2862
- * A polyfill for the window.requestAnimationFrame() method.
2863
- * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame
2864
- * @private
2865
+ /**
2866
+ * A polyfill for the window.requestAnimationFrame() method.
2867
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame
2868
+ * @private
2865
2869
  */
2866
2870
  var requestAnimationFrame = function (fp) {
2867
2871
  return raf(fp);
2868
2872
  };
2869
- /**
2870
- * A polyfill for the window.cancelAnimationFrame() method. It cancels an animation executed through a call to the requestAnimationFrame() method.
2871
- * @param {Number} key − The ID value returned through a call to the requestAnimationFrame() method. <ko>requestAnimationFrame() 메서드가 반환한 아이디 값</ko>
2872
- * @see https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame
2873
- * @private
2873
+ /**
2874
+ * A polyfill for the window.cancelAnimationFrame() method. It cancels an animation executed through a call to the requestAnimationFrame() method.
2875
+ * @param {Number} key − The ID value returned through a call to the requestAnimationFrame() method. <ko>requestAnimationFrame() 메서드가 반환한 아이디 값</ko>
2876
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame
2877
+ * @private
2874
2878
  */
2875
2879
  var cancelAnimationFrame = function (key) {
2876
2880
  caf(key);
@@ -3019,32 +3023,32 @@ version: 4.11.4-beta.0
3019
3023
  this._axes = _axes;
3020
3024
  this.holdingCount = 0;
3021
3025
  }
3022
- /**
3023
- * This event is fired when a user holds an element on the screen of the device.
3024
- * @ko 사용자가 기기의 화면에 손을 대고 있을 때 발생하는 이벤트
3025
- * @event Axes#hold
3026
- * @type {object}
3027
- * @property {Object.<string, number>} pos coordinate <ko>좌표 정보</ko>
3028
- * @property {Object} input The instance of inputType where the event occurred<ko>이벤트가 발생한 inputType 인스턴스</ko>
3029
- * @property {Object} inputEvent The event object received from inputType <ko>inputType으로 부터 받은 이벤트 객체</ko>
3030
- * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3031
- *
3032
- * @example
3033
- * ```js
3034
- * const axes = new eg.Axes({
3035
- * "x": {
3036
- * range: [0, 100]
3037
- * },
3038
- * "zoom": {
3039
- * range: [50, 30]
3040
- * }
3041
- * }).on("hold", function(event) {
3042
- * // event.pos
3043
- * // event.input
3044
- * // event.inputEvent
3045
- * // isTrusted
3046
- * });
3047
- * ```
3026
+ /**
3027
+ * This event is fired when a user holds an element on the screen of the device.
3028
+ * @ko 사용자가 기기의 화면에 손을 대고 있을 때 발생하는 이벤트
3029
+ * @event Axes#hold
3030
+ * @type {object}
3031
+ * @property {Object.<string, number>} pos coordinate <ko>좌표 정보</ko>
3032
+ * @property {Object} input The instance of inputType where the event occurred<ko>이벤트가 발생한 inputType 인스턴스</ko>
3033
+ * @property {Object} inputEvent The event object received from inputType <ko>inputType으로 부터 받은 이벤트 객체</ko>
3034
+ * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3035
+ *
3036
+ * @example
3037
+ * ```js
3038
+ * const axes = new eg.Axes({
3039
+ * "x": {
3040
+ * range: [0, 100]
3041
+ * },
3042
+ * "zoom": {
3043
+ * range: [50, 30]
3044
+ * }
3045
+ * }).on("hold", function(event) {
3046
+ * // event.pos
3047
+ * // event.input
3048
+ * // event.inputEvent
3049
+ * // isTrusted
3050
+ * });
3051
+ * ```
3048
3052
  */
3049
3053
  var __proto = EventManager.prototype;
3050
3054
  __proto.hold = function (pos, option) {
@@ -3056,78 +3060,78 @@ version: 4.11.4-beta.0
3056
3060
  isTrusted: true
3057
3061
  }));
3058
3062
  };
3059
- /**
3060
- * Specifies the coordinates to move after the 'change' event. It works when the holding value of the change event is true.
3061
- * @ko 'change' 이벤트 이후 이동할 좌표를 지정한다. change이벤트의 holding 값이 true일 경우에 동작한다
3062
- * @param {Object.<string, number>} pos The coordinate to move to <ko>이동할 좌표</ko>
3063
- * @example
3064
- * ```js
3065
- * const axes = new eg.Axes({
3066
- * "x": {
3067
- * range: [0, 100]
3068
- * },
3069
- * "zoom": {
3070
- * range: [50, 30]
3071
- * }
3072
- * }).on("change", function(event) {
3073
- * event.holding && event.set({x: 10});
3074
- * });
3075
- * ```
3063
+ /**
3064
+ * Specifies the coordinates to move after the 'change' event. It works when the holding value of the change event is true.
3065
+ * @ko 'change' 이벤트 이후 이동할 좌표를 지정한다. change이벤트의 holding 값이 true일 경우에 동작한다
3066
+ * @param {Object.<string, number>} pos The coordinate to move to <ko>이동할 좌표</ko>
3067
+ * @example
3068
+ * ```js
3069
+ * const axes = new eg.Axes({
3070
+ * "x": {
3071
+ * range: [0, 100]
3072
+ * },
3073
+ * "zoom": {
3074
+ * range: [50, 30]
3075
+ * }
3076
+ * }).on("change", function(event) {
3077
+ * event.holding && event.set({x: 10});
3078
+ * });
3079
+ * ```
3076
3080
  */
3077
- /** Specifies the animation coordinates to move after the 'release' or 'animationStart' events.
3078
- * @ko 'release' 또는 'animationStart' 이벤트 이후 이동할 좌표를 지정한다.
3079
- * @param {Object.<string, number>} pos The coordinate to move to <ko>이동할 좌표</ko>
3080
- * @param {Number} [duration=0] Duration of the animation (unit: ms) <ko>애니메이션 진행 시간(단위: ms)</ko>
3081
- * @example
3082
- * ```js
3083
- * const axes = new eg.Axes({
3084
- * "x": {
3085
- * range: [0, 100]
3086
- * },
3087
- * "zoom": {
3088
- * range: [50, 30]
3089
- * }
3090
- * }).on("animationStart", function(event) {
3091
- * event.setTo({x: 10}, 2000);
3092
- * });
3093
- * ```
3081
+ /** Specifies the animation coordinates to move after the 'release' or 'animationStart' events.
3082
+ * @ko 'release' 또는 'animationStart' 이벤트 이후 이동할 좌표를 지정한다.
3083
+ * @param {Object.<string, number>} pos The coordinate to move to <ko>이동할 좌표</ko>
3084
+ * @param {Number} [duration=0] Duration of the animation (unit: ms) <ko>애니메이션 진행 시간(단위: ms)</ko>
3085
+ * @example
3086
+ * ```js
3087
+ * const axes = new eg.Axes({
3088
+ * "x": {
3089
+ * range: [0, 100]
3090
+ * },
3091
+ * "zoom": {
3092
+ * range: [50, 30]
3093
+ * }
3094
+ * }).on("animationStart", function(event) {
3095
+ * event.setTo({x: 10}, 2000);
3096
+ * });
3097
+ * ```
3094
3098
  */
3095
- /**
3096
- * This event is fired when a user release an element on the screen of the device.
3097
- * @ko 사용자가 기기의 화면에서 손을 뗐을 때 발생하는 이벤트
3098
- * @event Axes#release
3099
- * @type {object}
3100
- * @property {Object.<string, number>} depaPos The coordinates when releasing an element<ko>손을 뗐을 때의 좌표 </ko>
3101
- * @property {Object.<string, number>} destPos The coordinates to move to after releasing an element<ko>손을 뗀 뒤에 이동할 좌표</ko>
3102
- * @property {Object.<string, number>} delta The movement variation of coordinate <ko>좌표의 변화량</ko>
3103
- * @property {Object.<string, number>} bounceRatio If the coordinates at the time of release are in the bounce area, the current bounce value divided by the maximum bounce value <ko>손을 뗐을 때의 좌표가 bounce 영역에 있는 경우 현재 bounce된 값을 최대 bounce 값으로 나눈 수치.</ko>
3104
- * @property {Object} inputEvent The event object received from inputType <ko>inputType으로 부터 받은 이벤트 객체</ko>
3105
- * @property {Object} input The instance of inputType where the event occurred<ko>이벤트가 발생한 inputType 인스턴스</ko>
3106
- * @property {setTo} setTo Specifies the animation coordinates to move after the event <ko>이벤트 이후 이동할 애니메이션 좌표를 지정한다</ko>
3107
- * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3108
- *
3109
- * @example
3110
- * ```js
3111
- * const axes = new eg.Axes({
3112
- * "x": {
3113
- * range: [0, 100]
3114
- * },
3115
- * "zoom": {
3116
- * range: [50, 30]
3117
- * }
3118
- * }).on("release", function(event) {
3119
- * // event.depaPos
3120
- * // event.destPos
3121
- * // event.delta
3122
- * // event.input
3123
- * // event.inputEvent
3124
- * // event.setTo
3125
- * // event.isTrusted
3126
- *
3127
- * // if you want to change the animation coordinates to move after the 'release' event.
3128
- * event.setTo({x: 10}, 2000);
3129
- * });
3130
- * ```
3099
+ /**
3100
+ * This event is fired when a user release an element on the screen of the device.
3101
+ * @ko 사용자가 기기의 화면에서 손을 뗐을 때 발생하는 이벤트
3102
+ * @event Axes#release
3103
+ * @type {object}
3104
+ * @property {Object.<string, number>} depaPos The coordinates when releasing an element<ko>손을 뗐을 때의 좌표 </ko>
3105
+ * @property {Object.<string, number>} destPos The coordinates to move to after releasing an element<ko>손을 뗀 뒤에 이동할 좌표</ko>
3106
+ * @property {Object.<string, number>} delta The movement variation of coordinate <ko>좌표의 변화량</ko>
3107
+ * @property {Object.<string, number>} bounceRatio If the coordinates at the time of release are in the bounce area, the current bounce value divided by the maximum bounce value <ko>손을 뗐을 때의 좌표가 bounce 영역에 있는 경우 현재 bounce된 값을 최대 bounce 값으로 나눈 수치.</ko>
3108
+ * @property {Object} inputEvent The event object received from inputType <ko>inputType으로 부터 받은 이벤트 객체</ko>
3109
+ * @property {Object} input The instance of inputType where the event occurred<ko>이벤트가 발생한 inputType 인스턴스</ko>
3110
+ * @property {setTo} setTo Specifies the animation coordinates to move after the event <ko>이벤트 이후 이동할 애니메이션 좌표를 지정한다</ko>
3111
+ * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3112
+ *
3113
+ * @example
3114
+ * ```js
3115
+ * const axes = new eg.Axes({
3116
+ * "x": {
3117
+ * range: [0, 100]
3118
+ * },
3119
+ * "zoom": {
3120
+ * range: [50, 30]
3121
+ * }
3122
+ * }).on("release", function(event) {
3123
+ * // event.depaPos
3124
+ * // event.destPos
3125
+ * // event.delta
3126
+ * // event.input
3127
+ * // event.inputEvent
3128
+ * // event.setTo
3129
+ * // event.isTrusted
3130
+ *
3131
+ * // if you want to change the animation coordinates to move after the 'release' event.
3132
+ * event.setTo({x: 10}, 2000);
3133
+ * });
3134
+ * ```
3131
3135
  */
3132
3136
  __proto.triggerRelease = function (param) {
3133
3137
  var _a = this._getRoundPos(param.destPos, param.depaPos),
@@ -3140,43 +3144,43 @@ version: 4.11.4-beta.0
3140
3144
  bounceRatio: this._getBounceRatio(roundPos)
3141
3145
  })));
3142
3146
  };
3143
- /**
3144
- * This event is fired when coordinate changes.
3145
- * @ko 좌표가 변경됐을 때 발생하는 이벤트
3146
- * @event Axes#change
3147
- * @type {object}
3148
- * @property {Object.<string, number>} pos The coordinate <ko>좌표</ko>
3149
- * @property {Object.<string, number>} delta The movement variation of coordinate <ko>좌표의 변화량</ko>
3150
- * @property {Object.<string, number>} bounceRatio If the current coordinates are in the bounce area, the current bounce value divided by the maximum bounce value <ko>현재 좌표가 bounce 영역에 있는 경우 현재 bounce된 값을 최대 bounce 값으로 나눈 수치.</ko>
3151
- * @property {Boolean} holding Indicates whether a user holds an element on the screen of the device.<ko>사용자가 기기의 화면을 누르고 있는지 여부</ko>
3152
- * @property {Object} input The instance of inputType where the event occurred. If the value is changed by animation, it returns 'null'.<ko>이벤트가 발생한 inputType 인스턴스. 애니메이션에 의해 값이 변경될 경우에는 'null'을 반환한다.</ko>
3153
- * @property {Object} inputEvent The event object received from inputType. If the value is changed by animation, it returns 'null'.<ko>inputType으로 부터 받은 이벤트 객체. 애니메이션에 의해 값이 변경될 경우에는 'null'을 반환한다.</ko>
3154
- * @property {set} set Specifies the coordinates to move after the event. It works when the holding value is true <ko>이벤트 이후 이동할 좌표를 지정한다. holding 값이 true일 경우에 동작한다.</ko>
3155
- * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3156
- *
3157
- * @example
3158
- * ```js
3159
- * const axes = new eg.Axes({
3160
- * "x": {
3161
- * range: [0, 100]
3162
- * },
3163
- * "zoom": {
3164
- * range: [50, 30]
3165
- * }
3166
- * }).on("change", function(event) {
3167
- * // event.pos
3168
- * // event.delta
3169
- * // event.input
3170
- * // event.inputEvent
3171
- * // event.holding
3172
- * // event.set
3173
- * // event.isTrusted
3174
- *
3175
- * // if you want to change the coordinates to move after the 'change' event.
3176
- * // it works when the holding value of the change event is true.
3177
- * event.holding && event.set({x: 10});
3178
- * });
3179
- * ```
3147
+ /**
3148
+ * This event is fired when coordinate changes.
3149
+ * @ko 좌표가 변경됐을 때 발생하는 이벤트
3150
+ * @event Axes#change
3151
+ * @type {object}
3152
+ * @property {Object.<string, number>} pos The coordinate <ko>좌표</ko>
3153
+ * @property {Object.<string, number>} delta The movement variation of coordinate <ko>좌표의 변화량</ko>
3154
+ * @property {Object.<string, number>} bounceRatio If the current coordinates are in the bounce area, the current bounce value divided by the maximum bounce value <ko>현재 좌표가 bounce 영역에 있는 경우 현재 bounce된 값을 최대 bounce 값으로 나눈 수치.</ko>
3155
+ * @property {Boolean} holding Indicates whether a user holds an element on the screen of the device.<ko>사용자가 기기의 화면을 누르고 있는지 여부</ko>
3156
+ * @property {Object} input The instance of inputType where the event occurred. If the value is changed by animation, it returns 'null'.<ko>이벤트가 발생한 inputType 인스턴스. 애니메이션에 의해 값이 변경될 경우에는 'null'을 반환한다.</ko>
3157
+ * @property {Object} inputEvent The event object received from inputType. If the value is changed by animation, it returns 'null'.<ko>inputType으로 부터 받은 이벤트 객체. 애니메이션에 의해 값이 변경될 경우에는 'null'을 반환한다.</ko>
3158
+ * @property {set} set Specifies the coordinates to move after the event. It works when the holding value is true <ko>이벤트 이후 이동할 좌표를 지정한다. holding 값이 true일 경우에 동작한다.</ko>
3159
+ * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3160
+ *
3161
+ * @example
3162
+ * ```js
3163
+ * const axes = new eg.Axes({
3164
+ * "x": {
3165
+ * range: [0, 100]
3166
+ * },
3167
+ * "zoom": {
3168
+ * range: [50, 30]
3169
+ * }
3170
+ * }).on("change", function(event) {
3171
+ * // event.pos
3172
+ * // event.delta
3173
+ * // event.input
3174
+ * // event.inputEvent
3175
+ * // event.holding
3176
+ * // event.set
3177
+ * // event.isTrusted
3178
+ *
3179
+ * // if you want to change the coordinates to move after the 'change' event.
3180
+ * // it works when the holding value of the change event is true.
3181
+ * event.holding && event.set({x: 10});
3182
+ * });
3183
+ * ```
3180
3184
  */
3181
3185
  __proto.triggerChange = function (pos, depaPos, option, holding) {
3182
3186
  var _this = this;
@@ -3213,42 +3217,42 @@ version: 4.11.4-beta.0
3213
3217
  }
3214
3218
  return !event.isCanceled();
3215
3219
  };
3216
- /**
3217
- * This event is fired when animation starts.
3218
- * @ko 에니메이션이 시작할 때 발생한다.
3219
- * @event Axes#animationStart
3220
- * @type {object}
3221
- * @property {Object.<string, number>} depaPos The coordinates when animation starts<ko>애니메이션이 시작 되었을 때의 좌표 </ko>
3222
- * @property {Object.<string, number>} destPos The coordinates to move to. If you change this value, you can run the animation<ko>이동할 좌표. 이값을 변경하여 애니메이션을 동작시킬수 있다</ko>
3223
- * @property {Object.<string, number>} delta The movement variation of coordinate <ko>좌표의 변화량</ko>
3224
- * @property {Number} duration Duration of the animation (unit: ms). If you change this value, you can control the animation duration time.<ko>애니메이션 진행 시간(단위: ms). 이값을 변경하여 애니메이션의 이동시간을 조절할 수 있다.</ko>
3225
- * @property {Object} input The instance of inputType where the event occurred. If the value is changed by animation, it returns 'null'.<ko>이벤트가 발생한 inputType 인스턴스. 애니메이션에 의해 값이 변경될 경우에는 'null'을 반환한다.</ko>
3226
- * @property {Object} inputEvent The event object received from inputType <ko>inputType으로 부터 받은 이벤트 객체</ko>
3227
- * @property {setTo} setTo Specifies the animation coordinates to move after the event <ko>이벤트 이후 이동할 애니메이션 좌표를 지정한다</ko>
3228
- * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3229
- *
3230
- * @example
3231
- * ```js
3232
- * const axes = new eg.Axes({
3233
- * "x": {
3234
- * range: [0, 100]
3235
- * },
3236
- * "zoom": {
3237
- * range: [50, 30]
3238
- * }
3239
- * }).on("release", function(event) {
3240
- * // event.depaPos
3241
- * // event.destPos
3242
- * // event.delta
3243
- * // event.input
3244
- * // event.inputEvent
3245
- * // event.setTo
3246
- * // event.isTrusted
3247
- *
3248
- * // if you want to change the animation coordinates to move after the 'animationStart' event.
3249
- * event.setTo({x: 10}, 2000);
3250
- * });
3251
- * ```
3220
+ /**
3221
+ * This event is fired when animation starts.
3222
+ * @ko 에니메이션이 시작할 때 발생한다.
3223
+ * @event Axes#animationStart
3224
+ * @type {object}
3225
+ * @property {Object.<string, number>} depaPos The coordinates when animation starts<ko>애니메이션이 시작 되었을 때의 좌표 </ko>
3226
+ * @property {Object.<string, number>} destPos The coordinates to move to. If you change this value, you can run the animation<ko>이동할 좌표. 이값을 변경하여 애니메이션을 동작시킬수 있다</ko>
3227
+ * @property {Object.<string, number>} delta The movement variation of coordinate <ko>좌표의 변화량</ko>
3228
+ * @property {Number} duration Duration of the animation (unit: ms). If you change this value, you can control the animation duration time.<ko>애니메이션 진행 시간(단위: ms). 이값을 변경하여 애니메이션의 이동시간을 조절할 수 있다.</ko>
3229
+ * @property {Object} input The instance of inputType where the event occurred. If the value is changed by animation, it returns 'null'.<ko>이벤트가 발생한 inputType 인스턴스. 애니메이션에 의해 값이 변경될 경우에는 'null'을 반환한다.</ko>
3230
+ * @property {Object} inputEvent The event object received from inputType <ko>inputType으로 부터 받은 이벤트 객체</ko>
3231
+ * @property {setTo} setTo Specifies the animation coordinates to move after the event <ko>이벤트 이후 이동할 애니메이션 좌표를 지정한다</ko>
3232
+ * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3233
+ *
3234
+ * @example
3235
+ * ```js
3236
+ * const axes = new eg.Axes({
3237
+ * "x": {
3238
+ * range: [0, 100]
3239
+ * },
3240
+ * "zoom": {
3241
+ * range: [50, 30]
3242
+ * }
3243
+ * }).on("release", function(event) {
3244
+ * // event.depaPos
3245
+ * // event.destPos
3246
+ * // event.delta
3247
+ * // event.input
3248
+ * // event.inputEvent
3249
+ * // event.setTo
3250
+ * // event.isTrusted
3251
+ *
3252
+ * // if you want to change the animation coordinates to move after the 'animationStart' event.
3253
+ * event.setTo({x: 10}, 2000);
3254
+ * });
3255
+ * ```
3252
3256
  */
3253
3257
  __proto.triggerAnimationStart = function (param) {
3254
3258
  var _a = this._getRoundPos(param.destPos, param.depaPos),
@@ -3261,26 +3265,26 @@ version: 4.11.4-beta.0
3261
3265
  this._axes.trigger(event);
3262
3266
  return !event.isCanceled();
3263
3267
  };
3264
- /**
3265
- * This event is fired when animation ends.
3266
- * @ko 에니메이션이 끝났을 때 발생한다.
3267
- * @event Axes#animationEnd
3268
- * @type {object}
3269
- * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3270
- *
3271
- * @example
3272
- * ```js
3273
- * const axes = new eg.Axes({
3274
- * "x": {
3275
- * range: [0, 100]
3276
- * },
3277
- * "zoom": {
3278
- * range: [50, 30]
3279
- * }
3280
- * }).on("animationEnd", function(event) {
3281
- * // event.isTrusted
3282
- * });
3283
- * ```
3268
+ /**
3269
+ * This event is fired when animation ends.
3270
+ * @ko 에니메이션이 끝났을 때 발생한다.
3271
+ * @event Axes#animationEnd
3272
+ * @type {object}
3273
+ * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3274
+ *
3275
+ * @example
3276
+ * ```js
3277
+ * const axes = new eg.Axes({
3278
+ * "x": {
3279
+ * range: [0, 100]
3280
+ * },
3281
+ * "zoom": {
3282
+ * range: [50, 30]
3283
+ * }
3284
+ * }).on("animationEnd", function(event) {
3285
+ * // event.isTrusted
3286
+ * });
3287
+ * ```
3284
3288
  */
3285
3289
  __proto.triggerAnimationEnd = function (isTrusted) {
3286
3290
  if (isTrusted === void 0) {
@@ -3290,26 +3294,26 @@ version: 4.11.4-beta.0
3290
3294
  isTrusted: isTrusted
3291
3295
  }));
3292
3296
  };
3293
- /**
3294
- * This event is fired when all actions have been completed.
3295
- * @ko 에니메이션이 끝났을 때 발생한다.
3296
- * @event Axes#finish
3297
- * @type {object}
3298
- * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3299
- *
3300
- * @example
3301
- * ```js
3302
- * const axes = new eg.Axes({
3303
- * "x": {
3304
- * range: [0, 100]
3305
- * },
3306
- * "zoom": {
3307
- * range: [50, 30]
3308
- * }
3309
- * }).on("finish", function(event) {
3310
- * // event.isTrusted
3311
- * });
3312
- * ```
3297
+ /**
3298
+ * This event is fired when all actions have been completed.
3299
+ * @ko 에니메이션이 끝났을 때 발생한다.
3300
+ * @event Axes#finish
3301
+ * @type {object}
3302
+ * @property {Boolean} isTrusted Returns true if an event was generated by the user action, or false if it was caused by a script or API call <ko>사용자의 액션에 의해 이벤트가 발생하였으면 true, 스크립트나 API호출에 의해 발생하였을 경우에는 false를 반환한다.</ko>
3303
+ *
3304
+ * @example
3305
+ * ```js
3306
+ * const axes = new eg.Axes({
3307
+ * "x": {
3308
+ * range: [0, 100]
3309
+ * },
3310
+ * "zoom": {
3311
+ * range: [50, 30]
3312
+ * }
3313
+ * }).on("finish", function(event) {
3314
+ * // event.isTrusted
3315
+ * });
3316
+ * ```
3313
3317
  */
3314
3318
  __proto.triggerFinish = function (isTrusted) {
3315
3319
  if (isTrusted === void 0) {
@@ -3391,9 +3395,9 @@ version: 4.11.4-beta.0
3391
3395
  return InterruptManager;
3392
3396
  }();
3393
3397
 
3394
- /*
3395
- * Copyright (c) 2015 NAVER Corp.
3396
- * egjs projects are licensed under the MIT license
3398
+ /*
3399
+ * Copyright (c) 2015 NAVER Corp.
3400
+ * egjs projects are licensed under the MIT license
3397
3401
  */
3398
3402
  var getInsidePosition = function (destPos, range, circular, bounce) {
3399
3403
  var toDestPos = destPos;
@@ -3522,9 +3526,9 @@ version: 4.11.4-beta.0
3522
3526
  });
3523
3527
  this._complementOptions();
3524
3528
  };
3525
- /**
3526
- * set up 'css' expression
3527
- * @private
3529
+ /**
3530
+ * set up 'css' expression
3531
+ * @private
3528
3532
  */
3529
3533
  __proto._complementOptions = function () {
3530
3534
  var _this = this;
@@ -4420,15 +4424,15 @@ version: 4.11.4-beta.0
4420
4424
  complete();
4421
4425
  }
4422
4426
  };
4423
- /**
4424
- * Get estimated final value.
4425
- *
4426
- * If destPos is within the 'error range' of the original intended position, the initial intended position is returned.
4427
- * - eg. original intended pos: 100, destPos: 100.0000000004 ==> return 100;
4428
- * If dest Pos is outside the 'range of error' compared to the originally intended pos, it is returned rounded based on the originally intended pos.
4429
- * - eg. original intended pos: 100.123 destPos: 50.12345 => return 50.123
4430
- * @param originalIntendedPos
4431
- * @param destPos
4427
+ /**
4428
+ * Get estimated final value.
4429
+ *
4430
+ * If destPos is within the 'error range' of the original intended position, the initial intended position is returned.
4431
+ * - eg. original intended pos: 100, destPos: 100.0000000004 ==> return 100;
4432
+ * If dest Pos is outside the 'range of error' compared to the originally intended pos, it is returned rounded based on the originally intended pos.
4433
+ * - eg. original intended pos: 100.123 destPos: 50.12345 => return 50.123
4434
+ * @param originalIntendedPos
4435
+ * @param destPos
4432
4436
  */
4433
4437
  __proto._getFinalPos = function (destPos, originalIntendedPos) {
4434
4438
  var _this = this;
@@ -4554,111 +4558,111 @@ version: 4.11.4-beta.0
4554
4558
  return EasingManager;
4555
4559
  }(AnimationManager);
4556
4560
 
4557
- /**
4558
- * @typedef {Object} AxisOption The Axis information. The key of the axis specifies the name to use as the logical virtual coordinate system.
4559
- * @ko 축 정보. 축의 키는 논리적인 가상 좌표계로 사용할 이름을 지정한다.
4560
- * @param {Number[]} [range] The range of coordinate <ko>좌표 범위</ko>
4561
- * @param {Number} [range[0]=0] The coordinate of the minimum <ko>최소 좌표</ko>
4562
- * @param {Number} [range[1]=0] The coordinate of the maximum <ko>최대 좌표</ko>
4563
- * @param {Number} [startPos=range[0]] The coordinates to be moved when creating an instance <ko>인스턴스 생성시 이동할 좌표</ko>
4564
- * @param {Number[]} [bounce] The size of bouncing area. The coordinates can exceed the coordinate area as much as the bouncing area based on user action. If the coordinates does not exceed the bouncing area when an element is dragged, the coordinates where bouncing effects are applied are retuned back into the coordinate area<ko>바운스 영역의 크기. 사용자의 동작에 따라 좌표가 좌표 영역을 넘어 바운스 영역의 크기만큼 더 이동할 수 있다. 사용자가 끌어다 놓는 동작을 했을 때 좌표가 바운스 영역에 있으면, 바운스 효과가 적용된 좌표가 다시 좌표 영역 안으로 들어온다</ko>
4565
- * @param {Number} [bounce[0]=0] The size of coordinate of the minimum area <ko>최소 좌표 바운스 영역의 크기</ko>
4566
- * @param {Number} [bounce[1]=0] The size of coordinate of the maximum area <ko>최대 좌표 바운스 영역의 크기</ko>
4567
- * @param {Boolean[]} [circular] Indicates whether a circular element is available. If it is set to "true" and an element is dragged outside the coordinate area, the element will appear on the other side.<ko>순환 여부. 'true'로 설정한 방향의 좌표 영역 밖으로 엘리먼트가 이동하면 반대 방향에서 엘리먼트가 나타난다</ko>
4568
- * @param {Boolean} [circular[0]=false] Indicates whether to circulate to the coordinate of the minimum <ko>최소 좌표 방향의 순환 여부</ko>
4569
- * @param {Boolean} [circular[1]=false] Indicates whether to circulate to the coordinate of the maximum <ko>최대 좌표 방향의 순환 여부</ko>
4561
+ /**
4562
+ * @typedef {Object} AxisOption The Axis information. The key of the axis specifies the name to use as the logical virtual coordinate system.
4563
+ * @ko 축 정보. 축의 키는 논리적인 가상 좌표계로 사용할 이름을 지정한다.
4564
+ * @param {Number[]} [range] The range of coordinate <ko>좌표 범위</ko>
4565
+ * @param {Number} [range[0]=0] The coordinate of the minimum <ko>최소 좌표</ko>
4566
+ * @param {Number} [range[1]=0] The coordinate of the maximum <ko>최대 좌표</ko>
4567
+ * @param {Number} [startPos=range[0]] The coordinates to be moved when creating an instance <ko>인스턴스 생성시 이동할 좌표</ko>
4568
+ * @param {Number[]} [bounce] The size of bouncing area. The coordinates can exceed the coordinate area as much as the bouncing area based on user action. If the coordinates does not exceed the bouncing area when an element is dragged, the coordinates where bouncing effects are applied are retuned back into the coordinate area<ko>바운스 영역의 크기. 사용자의 동작에 따라 좌표가 좌표 영역을 넘어 바운스 영역의 크기만큼 더 이동할 수 있다. 사용자가 끌어다 놓는 동작을 했을 때 좌표가 바운스 영역에 있으면, 바운스 효과가 적용된 좌표가 다시 좌표 영역 안으로 들어온다</ko>
4569
+ * @param {Number} [bounce[0]=0] The size of coordinate of the minimum area <ko>최소 좌표 바운스 영역의 크기</ko>
4570
+ * @param {Number} [bounce[1]=0] The size of coordinate of the maximum area <ko>최대 좌표 바운스 영역의 크기</ko>
4571
+ * @param {Boolean[]} [circular] Indicates whether a circular element is available. If it is set to "true" and an element is dragged outside the coordinate area, the element will appear on the other side.<ko>순환 여부. 'true'로 설정한 방향의 좌표 영역 밖으로 엘리먼트가 이동하면 반대 방향에서 엘리먼트가 나타난다</ko>
4572
+ * @param {Boolean} [circular[0]=false] Indicates whether to circulate to the coordinate of the minimum <ko>최소 좌표 방향의 순환 여부</ko>
4573
+ * @param {Boolean} [circular[1]=false] Indicates whether to circulate to the coordinate of the maximum <ko>최대 좌표 방향의 순환 여부</ko>
4570
4574
  **/
4571
- /**
4572
- * @typedef {Object} AxesOption The option object of the eg.Axes module
4573
- * @ko eg.Axes 모듈의 옵션 객체
4574
- * @param {Function} [easing=easing.easeOutCubic] The easing function to apply to an animation <ko>애니메이션에 적용할 easing 함수</ko>
4575
- * @param {Number} [maximumDuration=Infinity] Maximum duration of the animation <ko>가속도에 의해 애니메이션이 동작할 때의 최대 좌표 이동 시간</ko>
4576
- * @param {Number} [minimumDuration=0] Minimum duration of the animation <ko>가속도에 의해 애니메이션이 동작할 때의 최소 좌표 이동 시간</ko>
4577
- * @param {Number} [deceleration=0.0006] Deceleration of the animation where acceleration is manually enabled by user. A higher value indicates shorter running time. <ko>사용자의 동작으로 가속도가 적용된 애니메이션의 감속도. 값이 높을수록 애니메이션 실행 시간이 짧아진다</ko>
4578
- * @param {Boolean} [interruptable=true] Indicates whether an animation is interruptible.
4579
- * - true: It can be paused or stopped by user action or the API.
4580
- * - false: It cannot be paused or stopped by user action or the API while it is running.
4581
- * <ko>진행 중인 애니메이션 중지 가능 여부.
4582
- * - true: 사용자의 동작이나 API로 애니메이션을 중지할 수 있다.
4583
- * - false: 애니메이션이 진행 중일 때는 사용자의 동작이나 API가 적용되지 않는다</ko>
4584
- * @param {Number} [round=null] Rounding unit. For example, 0.1 rounds to 0.1 decimal point(6.1234 => 6.1), 5 rounds to 5 (93 => 95)
4585
- * [Details](https://github.com/naver/egjs-axes/wiki/round-option)<ko>반올림 단위. 예를 들어 0.1 은 소숫점 0.1 까지 반올림(6.1234 => 6.1), 5 는 5 단위로 반올림(93 => 95).
4586
- * [상세내용](https://github.com/naver/egjs-axes/wiki/round-option)</ko>
4587
- * @param {Boolean} [nested=false] Whether the event propagates to other instances when the coordinates reach the end of the movable area <ko>좌표가 이동 가능한 영역의 끝까지 도달했을 때 다른 인스턴스들로의 이벤트 전파 여부</ko>
4575
+ /**
4576
+ * @typedef {Object} AxesOption The option object of the eg.Axes module
4577
+ * @ko eg.Axes 모듈의 옵션 객체
4578
+ * @param {Function} [easing=easing.easeOutCubic] The easing function to apply to an animation <ko>애니메이션에 적용할 easing 함수</ko>
4579
+ * @param {Number} [maximumDuration=Infinity] Maximum duration of the animation <ko>가속도에 의해 애니메이션이 동작할 때의 최대 좌표 이동 시간</ko>
4580
+ * @param {Number} [minimumDuration=0] Minimum duration of the animation <ko>가속도에 의해 애니메이션이 동작할 때의 최소 좌표 이동 시간</ko>
4581
+ * @param {Number} [deceleration=0.0006] Deceleration of the animation where acceleration is manually enabled by user. A higher value indicates shorter running time. <ko>사용자의 동작으로 가속도가 적용된 애니메이션의 감속도. 값이 높을수록 애니메이션 실행 시간이 짧아진다</ko>
4582
+ * @param {Boolean} [interruptable=true] Indicates whether an animation is interruptible.
4583
+ * - true: It can be paused or stopped by user action or the API.
4584
+ * - false: It cannot be paused or stopped by user action or the API while it is running.
4585
+ * <ko>진행 중인 애니메이션 중지 가능 여부.
4586
+ * - true: 사용자의 동작이나 API로 애니메이션을 중지할 수 있다.
4587
+ * - false: 애니메이션이 진행 중일 때는 사용자의 동작이나 API가 적용되지 않는다</ko>
4588
+ * @param {Number} [round=null] Rounding unit. For example, 0.1 rounds to 0.1 decimal point(6.1234 => 6.1), 5 rounds to 5 (93 => 95)
4589
+ * [Details](https://github.com/naver/egjs-axes/wiki/round-option)<ko>반올림 단위. 예를 들어 0.1 은 소숫점 0.1 까지 반올림(6.1234 => 6.1), 5 는 5 단위로 반올림(93 => 95).
4590
+ * [상세내용](https://github.com/naver/egjs-axes/wiki/round-option)</ko>
4591
+ * @param {Boolean} [nested=false] Whether the event propagates to other instances when the coordinates reach the end of the movable area <ko>좌표가 이동 가능한 영역의 끝까지 도달했을 때 다른 인스턴스들로의 이벤트 전파 여부</ko>
4588
4592
  **/
4589
- /**
4590
- * A module used to change the information of user action entered by various input devices such as touch screen or mouse into the logical virtual coordinates. You can easily create a UI that responds to user actions.
4591
- * @ko 터치 입력 장치나 마우스와 같은 다양한 입력 장치를 통해 전달 받은 사용자의 동작을 논리적인 가상 좌표로 변경하는 모듈이다. 사용자 동작에 반응하는 UI를 손쉽게 만들수 있다.
4592
- * @extends eg.Component
4593
- *
4594
- * @param {Object.<string, AxisOption>} axis Axis information managed by eg.Axes. The key of the axis specifies the name to use as the logical virtual coordinate system. <ko>eg.Axes가 관리하는 축 정보. 축의 키는 논리적인 가상 좌표계로 사용할 이름을 지정한다.</ko>
4595
- * @param {AxesOption} [options={}] The option object of the eg.Axes module<ko>eg.Axes 모듈의 옵션 객체</ko>
4596
- * @param {Object.<string, number>} [startPos={}] The coordinates to be moved when creating an instance. It is applied with higher priority than startPos of axisOption.<ko>인스턴스 생성시 이동할 좌표, axisOption의 startPos보다 높은 우선순위로 적용된다.</ko>
4597
- *
4598
- * @support {"ie": "10+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "edge" : "latest", "ios" : "7+", "an" : "2.3+ (except 3.x)"}
4599
- * @example
4600
- * ```js
4601
- * // 1. Initialize eg.Axes
4602
- * const axes = new eg.Axes({
4603
- * something1: {
4604
- * range: [0, 150],
4605
- * bounce: 50
4606
- * },
4607
- * something2: {
4608
- * range: [0, 200],
4609
- * bounce: 100
4610
- * },
4611
- * somethingN: {
4612
- * range: [1, 10],
4613
- * }
4614
- * }, {
4615
- * deceleration : 0.0024
4616
- * });
4617
- *
4618
- * // 2. attach event handler
4619
- * axes.on({
4620
- * "hold" : function(evt) {
4621
- * },
4622
- * "release" : function(evt) {
4623
- * },
4624
- * "animationStart" : function(evt) {
4625
- * },
4626
- * "animationEnd" : function(evt) {
4627
- * },
4628
- * "change" : function(evt) {
4629
- * }
4630
- * });
4631
- *
4632
- * // 3. Initialize inputTypes
4633
- * const panInputArea = new eg.Axes.PanInput("#area", {
4634
- * scale: [0.5, 1]
4635
- * });
4636
- * const panInputHmove = new eg.Axes.PanInput("#hmove");
4637
- * const panInputVmove = new eg.Axes.PanInput("#vmove");
4638
- * const pinchInputArea = new eg.Axes.PinchInput("#area", {
4639
- * scale: 1.5
4640
- * });
4641
- *
4642
- * // 4. Connect eg.Axes and InputTypes
4643
- * // [PanInput] When the mouse or touchscreen is down and moved.
4644
- * // Connect the 'something2' axis to the mouse or touchscreen x position and
4645
- * // connect the 'somethingN' axis to the mouse or touchscreen y position.
4646
- * axes.connect(["something2", "somethingN"], panInputArea); // or axes.connect("something2 somethingN", panInputArea);
4647
- *
4648
- * // Connect only one 'something1' axis to the mouse or touchscreen x position.
4649
- * axes.connect(["something1"], panInputHmove); // or axes.connect("something1", panInputHmove);
4650
- *
4651
- * // Connect only one 'something2' axis to the mouse or touchscreen y position.
4652
- * axes.connect(["", "something2"], panInputVmove); // or axes.connect(" something2", panInputVmove);
4653
- *
4654
- * // [PinchInput] Connect 'something2' axis when two pointers are moving toward (zoom-in) or away from each other (zoom-out).
4655
- * axes.connect("something2", pinchInputArea);
4656
- * ```
4593
+ /**
4594
+ * A module used to change the information of user action entered by various input devices such as touch screen or mouse into the logical virtual coordinates. You can easily create a UI that responds to user actions.
4595
+ * @ko 터치 입력 장치나 마우스와 같은 다양한 입력 장치를 통해 전달 받은 사용자의 동작을 논리적인 가상 좌표로 변경하는 모듈이다. 사용자 동작에 반응하는 UI를 손쉽게 만들수 있다.
4596
+ * @extends eg.Component
4597
+ *
4598
+ * @param {Object.<string, AxisOption>} axis Axis information managed by eg.Axes. The key of the axis specifies the name to use as the logical virtual coordinate system. <ko>eg.Axes가 관리하는 축 정보. 축의 키는 논리적인 가상 좌표계로 사용할 이름을 지정한다.</ko>
4599
+ * @param {AxesOption} [options={}] The option object of the eg.Axes module<ko>eg.Axes 모듈의 옵션 객체</ko>
4600
+ * @param {Object.<string, number>} [startPos={}] The coordinates to be moved when creating an instance. It is applied with higher priority than startPos of axisOption.<ko>인스턴스 생성시 이동할 좌표, axisOption의 startPos보다 높은 우선순위로 적용된다.</ko>
4601
+ *
4602
+ * @support {"ie": "10+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "edge" : "latest", "ios" : "7+", "an" : "2.3+ (except 3.x)"}
4603
+ * @example
4604
+ * ```js
4605
+ * // 1. Initialize eg.Axes
4606
+ * const axes = new eg.Axes({
4607
+ * something1: {
4608
+ * range: [0, 150],
4609
+ * bounce: 50
4610
+ * },
4611
+ * something2: {
4612
+ * range: [0, 200],
4613
+ * bounce: 100
4614
+ * },
4615
+ * somethingN: {
4616
+ * range: [1, 10],
4617
+ * }
4618
+ * }, {
4619
+ * deceleration : 0.0024
4620
+ * });
4621
+ *
4622
+ * // 2. attach event handler
4623
+ * axes.on({
4624
+ * "hold" : function(evt) {
4625
+ * },
4626
+ * "release" : function(evt) {
4627
+ * },
4628
+ * "animationStart" : function(evt) {
4629
+ * },
4630
+ * "animationEnd" : function(evt) {
4631
+ * },
4632
+ * "change" : function(evt) {
4633
+ * }
4634
+ * });
4635
+ *
4636
+ * // 3. Initialize inputTypes
4637
+ * const panInputArea = new eg.Axes.PanInput("#area", {
4638
+ * scale: [0.5, 1]
4639
+ * });
4640
+ * const panInputHmove = new eg.Axes.PanInput("#hmove");
4641
+ * const panInputVmove = new eg.Axes.PanInput("#vmove");
4642
+ * const pinchInputArea = new eg.Axes.PinchInput("#area", {
4643
+ * scale: 1.5
4644
+ * });
4645
+ *
4646
+ * // 4. Connect eg.Axes and InputTypes
4647
+ * // [PanInput] When the mouse or touchscreen is down and moved.
4648
+ * // Connect the 'something2' axis to the mouse or touchscreen x position and
4649
+ * // connect the 'somethingN' axis to the mouse or touchscreen y position.
4650
+ * axes.connect(["something2", "somethingN"], panInputArea); // or axes.connect("something2 somethingN", panInputArea);
4651
+ *
4652
+ * // Connect only one 'something1' axis to the mouse or touchscreen x position.
4653
+ * axes.connect(["something1"], panInputHmove); // or axes.connect("something1", panInputHmove);
4654
+ *
4655
+ * // Connect only one 'something2' axis to the mouse or touchscreen y position.
4656
+ * axes.connect(["", "something2"], panInputVmove); // or axes.connect(" something2", panInputVmove);
4657
+ *
4658
+ * // [PinchInput] Connect 'something2' axis when two pointers are moving toward (zoom-in) or away from each other (zoom-out).
4659
+ * axes.connect("something2", pinchInputArea);
4660
+ * ```
4657
4661
  */
4658
4662
  var Axes = /*#__PURE__*/function (_super) {
4659
4663
  __extends$1(Axes, _super);
4660
- /**
4661
- *
4664
+ /**
4665
+ *
4662
4666
  */
4663
4667
  function Axes(axis, options, startPos) {
4664
4668
  if (axis === void 0) {
@@ -4698,23 +4702,23 @@ version: 4.11.4-beta.0
4698
4702
  }
4699
4703
  var __proto = Axes.prototype;
4700
4704
  Object.defineProperty(__proto, "holding", {
4701
- /**
4702
- * @name Axes#holding
4703
- * @desc Returns true if at least one input is in progress.
4704
- * @ko 입력이 하나 이상 진행 중인지 여부를 반환한다.
4705
- *
4706
- * @readonly
4707
- * @type {boolean}
4708
- * @example
4709
- * ```js
4710
- * const axes = new eg.Axes({
4711
- * x: {
4712
- * range: [0, 100],
4713
- * },
4714
- * });
4715
- *
4716
- * axes.holding
4717
- * ```
4705
+ /**
4706
+ * @name Axes#holding
4707
+ * @desc Returns true if at least one input is in progress.
4708
+ * @ko 입력이 하나 이상 진행 중인지 여부를 반환한다.
4709
+ *
4710
+ * @readonly
4711
+ * @type {boolean}
4712
+ * @example
4713
+ * ```js
4714
+ * const axes = new eg.Axes({
4715
+ * x: {
4716
+ * range: [0, 100],
4717
+ * },
4718
+ * });
4719
+ *
4720
+ * axes.holding
4721
+ * ```
4718
4722
  */
4719
4723
  get: function () {
4720
4724
  return this.eventManager.holdingCount > 0;
@@ -4722,30 +4726,30 @@ version: 4.11.4-beta.0
4722
4726
  enumerable: false,
4723
4727
  configurable: true
4724
4728
  });
4725
- /**
4726
- * Connect the axis of eg.Axes to the inputType.
4727
- * @ko eg.Axes의 축과 inputType을 연결한다
4728
- * @param {(String[]|String)} axes The name of the axis to associate with inputType <ko>inputType과 연결할 축의 이름</ko>
4729
- * @param {Object} inputType The inputType instance to associate with the axis of eg.Axes <ko>eg.Axes의 축과 연결할 inputType 인스턴스</ko>
4730
- * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4731
- * @example
4732
- * ```js
4733
- * const axes = new eg.Axes({
4734
- * "x": {
4735
- * range: [0, 100]
4736
- * },
4737
- * "xOther": {
4738
- * range: [-100, 100]
4739
- * }
4740
- * });
4741
- *
4742
- * axes.connect("x", new eg.Axes.PanInput("#area1"))
4743
- * .connect("x xOther", new eg.Axes.PanInput("#area2"))
4744
- * .connect(" xOther", new eg.Axes.PanInput("#area3"))
4745
- * .connect(["x"], new eg.Axes.PanInput("#area4"))
4746
- * .connect(["xOther", "x"], new eg.Axes.PanInput("#area5"))
4747
- * .connect(["", "xOther"], new eg.Axes.PanInput("#area6"));
4748
- * ```
4729
+ /**
4730
+ * Connect the axis of eg.Axes to the inputType.
4731
+ * @ko eg.Axes의 축과 inputType을 연결한다
4732
+ * @param {(String[]|String)} axes The name of the axis to associate with inputType <ko>inputType과 연결할 축의 이름</ko>
4733
+ * @param {Object} inputType The inputType instance to associate with the axis of eg.Axes <ko>eg.Axes의 축과 연결할 inputType 인스턴스</ko>
4734
+ * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4735
+ * @example
4736
+ * ```js
4737
+ * const axes = new eg.Axes({
4738
+ * "x": {
4739
+ * range: [0, 100]
4740
+ * },
4741
+ * "xOther": {
4742
+ * range: [-100, 100]
4743
+ * }
4744
+ * });
4745
+ *
4746
+ * axes.connect("x", new eg.Axes.PanInput("#area1"))
4747
+ * .connect("x xOther", new eg.Axes.PanInput("#area2"))
4748
+ * .connect(" xOther", new eg.Axes.PanInput("#area3"))
4749
+ * .connect(["x"], new eg.Axes.PanInput("#area4"))
4750
+ * .connect(["xOther", "x"], new eg.Axes.PanInput("#area5"))
4751
+ * .connect(["", "xOther"], new eg.Axes.PanInput("#area6"));
4752
+ * ```
4749
4753
  */
4750
4754
  __proto.connect = function (axes, inputType) {
4751
4755
  var mapped;
@@ -4763,33 +4767,33 @@ version: 4.11.4-beta.0
4763
4767
  this._inputs.push(inputType);
4764
4768
  return this;
4765
4769
  };
4766
- /**
4767
- * Disconnect the axis of eg.Axes from the inputType.
4768
- * @ko eg.Axes의 축과 inputType의 연결을 끊는다.
4769
- * @param {Object} [inputType] An inputType instance associated with the axis of eg.Axes <ko>eg.Axes의 축과 연결한 inputType 인스턴스</ko>
4770
- * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4771
- * @example
4772
- * ```js
4773
- * const axes = new eg.Axes({
4774
- * "x": {
4775
- * range: [0, 100]
4776
- * },
4777
- * "xOther": {
4778
- * range: [-100, 100]
4779
- * }
4780
- * });
4781
- *
4782
- * const input1 = new eg.Axes.PanInput("#area1");
4783
- * const input2 = new eg.Axes.PanInput("#area2");
4784
- * const input3 = new eg.Axes.PanInput("#area3");
4785
- *
4786
- * axes.connect("x", input1);
4787
- * .connect("x xOther", input2)
4788
- * .connect(["xOther", "x"], input3);
4789
- *
4790
- * axes.disconnect(input1); // disconnects input1
4791
- * axes.disconnect(); // disconnects all of them
4792
- * ```
4770
+ /**
4771
+ * Disconnect the axis of eg.Axes from the inputType.
4772
+ * @ko eg.Axes의 축과 inputType의 연결을 끊는다.
4773
+ * @param {Object} [inputType] An inputType instance associated with the axis of eg.Axes <ko>eg.Axes의 축과 연결한 inputType 인스턴스</ko>
4774
+ * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4775
+ * @example
4776
+ * ```js
4777
+ * const axes = new eg.Axes({
4778
+ * "x": {
4779
+ * range: [0, 100]
4780
+ * },
4781
+ * "xOther": {
4782
+ * range: [-100, 100]
4783
+ * }
4784
+ * });
4785
+ *
4786
+ * const input1 = new eg.Axes.PanInput("#area1");
4787
+ * const input2 = new eg.Axes.PanInput("#area2");
4788
+ * const input3 = new eg.Axes.PanInput("#area3");
4789
+ *
4790
+ * axes.connect("x", input1);
4791
+ * .connect("x xOther", input2)
4792
+ * .connect(["xOther", "x"], input3);
4793
+ *
4794
+ * axes.disconnect(input1); // disconnects input1
4795
+ * axes.disconnect(); // disconnects all of them
4796
+ * ```
4793
4797
  */
4794
4798
  __proto.disconnect = function (inputType) {
4795
4799
  if (inputType) {
@@ -4806,60 +4810,60 @@ version: 4.11.4-beta.0
4806
4810
  }
4807
4811
  return this;
4808
4812
  };
4809
- /**
4810
- * Returns the current position of the coordinates.
4811
- * @ko 좌표의 현재 위치를 반환한다
4812
- * @param {Object} [axes] The names of the axis <ko>축 이름들</ko>
4813
- * @return {Object.<string, number>} Axis coordinate information <ko>축 좌표 정보</ko>
4814
- * @example
4815
- * ```js
4816
- * const axes = new eg.Axes({
4817
- * "x": {
4818
- * range: [0, 100]
4819
- * },
4820
- * "xOther": {
4821
- * range: [-100, 100]
4822
- * },
4823
- * "zoom": {
4824
- * range: [50, 30]
4825
- * }
4826
- * });
4827
- *
4828
- * axes.get(); // {"x": 0, "xOther": -100, "zoom": 50}
4829
- * axes.get(["x", "zoom"]); // {"x": 0, "zoom": 50}
4830
- * ```
4813
+ /**
4814
+ * Returns the current position of the coordinates.
4815
+ * @ko 좌표의 현재 위치를 반환한다
4816
+ * @param {Object} [axes] The names of the axis <ko>축 이름들</ko>
4817
+ * @return {Object.<string, number>} Axis coordinate information <ko>축 좌표 정보</ko>
4818
+ * @example
4819
+ * ```js
4820
+ * const axes = new eg.Axes({
4821
+ * "x": {
4822
+ * range: [0, 100]
4823
+ * },
4824
+ * "xOther": {
4825
+ * range: [-100, 100]
4826
+ * },
4827
+ * "zoom": {
4828
+ * range: [50, 30]
4829
+ * }
4830
+ * });
4831
+ *
4832
+ * axes.get(); // {"x": 0, "xOther": -100, "zoom": 50}
4833
+ * axes.get(["x", "zoom"]); // {"x": 0, "zoom": 50}
4834
+ * ```
4831
4835
  */
4832
4836
  __proto.get = function (axes) {
4833
4837
  return this.axisManager.get(axes);
4834
4838
  };
4835
- /**
4836
- * Moves an axis to specific coordinates.
4837
- * @ko 좌표를 이동한다.
4838
- * @param {Object.<string, number>} pos The coordinate to move to <ko>이동할 좌표</ko>
4839
- * @param {Number} [duration=0] Duration of the animation (unit: ms) <ko>애니메이션 진행 시간(단위: ms)</ko>
4840
- * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4841
- * @example
4842
- * ```js
4843
- * const axes = new eg.Axes({
4844
- * "x": {
4845
- * range: [0, 100]
4846
- * },
4847
- * "xOther": {
4848
- * range: [-100, 100]
4849
- * },
4850
- * "zoom": {
4851
- * range: [50, 30]
4852
- * }
4853
- * });
4854
- *
4855
- * axes.setTo({"x": 30, "zoom": 60});
4856
- * axes.get(); // {"x": 30, "xOther": -100, "zoom": 60}
4857
- *
4858
- * axes.setTo({"x": 100, "xOther": 60}, 1000); // animatation
4859
- *
4860
- * // after 1000 ms
4861
- * axes.get(); // {"x": 100, "xOther": 60, "zoom": 60}
4862
- * ```
4839
+ /**
4840
+ * Moves an axis to specific coordinates.
4841
+ * @ko 좌표를 이동한다.
4842
+ * @param {Object.<string, number>} pos The coordinate to move to <ko>이동할 좌표</ko>
4843
+ * @param {Number} [duration=0] Duration of the animation (unit: ms) <ko>애니메이션 진행 시간(단위: ms)</ko>
4844
+ * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4845
+ * @example
4846
+ * ```js
4847
+ * const axes = new eg.Axes({
4848
+ * "x": {
4849
+ * range: [0, 100]
4850
+ * },
4851
+ * "xOther": {
4852
+ * range: [-100, 100]
4853
+ * },
4854
+ * "zoom": {
4855
+ * range: [50, 30]
4856
+ * }
4857
+ * });
4858
+ *
4859
+ * axes.setTo({"x": 30, "zoom": 60});
4860
+ * axes.get(); // {"x": 30, "xOther": -100, "zoom": 60}
4861
+ *
4862
+ * axes.setTo({"x": 100, "xOther": 60}, 1000); // animatation
4863
+ *
4864
+ * // after 1000 ms
4865
+ * axes.get(); // {"x": 100, "xOther": 60, "zoom": 60}
4866
+ * ```
4863
4867
  */
4864
4868
  __proto.setTo = function (pos, duration) {
4865
4869
  if (duration === void 0) {
@@ -4868,34 +4872,34 @@ version: 4.11.4-beta.0
4868
4872
  this.animationManager.setTo(pos, duration);
4869
4873
  return this;
4870
4874
  };
4871
- /**
4872
- * Moves an axis from the current coordinates to specific coordinates.
4873
- * @ko 현재 좌표를 기준으로 좌표를 이동한다.
4874
- * @param {Object.<string, number>} pos The coordinate to move to <ko>이동할 좌표</ko>
4875
- * @param {Number} [duration=0] Duration of the animation (unit: ms) <ko>애니메이션 진행 시간(단위: ms)</ko>
4876
- * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4877
- * @example
4878
- * ```js
4879
- * const axes = new eg.Axes({
4880
- * "x": {
4881
- * range: [0, 100]
4882
- * },
4883
- * "xOther": {
4884
- * range: [-100, 100]
4885
- * },
4886
- * "zoom": {
4887
- * range: [50, 30]
4888
- * }
4889
- * });
4890
- *
4891
- * axes.setBy({"x": 30, "zoom": 10});
4892
- * axes.get(); // {"x": 30, "xOther": -100, "zoom": 60}
4893
- *
4894
- * axes.setBy({"x": 70, "xOther": 60}, 1000); // animatation
4895
- *
4896
- * // after 1000 ms
4897
- * axes.get(); // {"x": 100, "xOther": -40, "zoom": 60}
4898
- * ```
4875
+ /**
4876
+ * Moves an axis from the current coordinates to specific coordinates.
4877
+ * @ko 현재 좌표를 기준으로 좌표를 이동한다.
4878
+ * @param {Object.<string, number>} pos The coordinate to move to <ko>이동할 좌표</ko>
4879
+ * @param {Number} [duration=0] Duration of the animation (unit: ms) <ko>애니메이션 진행 시간(단위: ms)</ko>
4880
+ * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4881
+ * @example
4882
+ * ```js
4883
+ * const axes = new eg.Axes({
4884
+ * "x": {
4885
+ * range: [0, 100]
4886
+ * },
4887
+ * "xOther": {
4888
+ * range: [-100, 100]
4889
+ * },
4890
+ * "zoom": {
4891
+ * range: [50, 30]
4892
+ * }
4893
+ * });
4894
+ *
4895
+ * axes.setBy({"x": 30, "zoom": 10});
4896
+ * axes.get(); // {"x": 30, "xOther": -100, "zoom": 60}
4897
+ *
4898
+ * axes.setBy({"x": 70, "xOther": 60}, 1000); // animatation
4899
+ *
4900
+ * // after 1000 ms
4901
+ * axes.get(); // {"x": 100, "xOther": -40, "zoom": 60}
4902
+ * ```
4899
4903
  */
4900
4904
  __proto.setBy = function (pos, duration) {
4901
4905
  if (duration === void 0) {
@@ -4904,230 +4908,230 @@ version: 4.11.4-beta.0
4904
4908
  this.animationManager.setBy(pos, duration);
4905
4909
  return this;
4906
4910
  };
4907
- /**
4908
- * Change the options of Axes instance.
4909
- * @ko 인스턴스의 옵션을 변경한다.
4910
- * @param {AxesOption} options Axes options to change <ko>변경할 옵션 목록</ko>
4911
- * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4912
- * @example
4913
- * ```js
4914
- * const axes = new eg.Axes({
4915
- * "x": {
4916
- * range: [0, 100]
4917
- * },
4918
- * }, {
4919
- * round: 10,
4920
- * });
4921
- *
4922
- * axes.setTo({"x": 48});
4923
- * axes.get(); // {"x": 50}
4924
- *
4925
- * axes.setOptions({
4926
- * round: 1,
4927
- * });
4928
- *
4929
- * axes.setTo({"x": 48});
4930
- * axes.get(); // {"x": 48}
4931
- * ```
4911
+ /**
4912
+ * Change the options of Axes instance.
4913
+ * @ko 인스턴스의 옵션을 변경한다.
4914
+ * @param {AxesOption} options Axes options to change <ko>변경할 옵션 목록</ko>
4915
+ * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4916
+ * @example
4917
+ * ```js
4918
+ * const axes = new eg.Axes({
4919
+ * "x": {
4920
+ * range: [0, 100]
4921
+ * },
4922
+ * }, {
4923
+ * round: 10,
4924
+ * });
4925
+ *
4926
+ * axes.setTo({"x": 48});
4927
+ * axes.get(); // {"x": 50}
4928
+ *
4929
+ * axes.setOptions({
4930
+ * round: 1,
4931
+ * });
4932
+ *
4933
+ * axes.setTo({"x": 48});
4934
+ * axes.get(); // {"x": 48}
4935
+ * ```
4932
4936
  */
4933
4937
  __proto.setOptions = function (options) {
4934
4938
  this.options = __assign$1(__assign$1({}, this.options), options);
4935
4939
  this.animationManager.setOptions(options);
4936
4940
  return this;
4937
4941
  };
4938
- /**
4939
- * Change the information of an existing axis.
4940
- * @ko 존재하는 축의 정보를 변경한다.
4941
- * @param {Object.<string, AxisOption>} axis Axis options to change <ko>변경할 축의 정보</ko>
4942
- * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4943
- * @example
4944
- * ```js
4945
- * const axes = new eg.Axes({
4946
- * "x": {
4947
- * range: [0, 100]
4948
- * },
4949
- * });
4950
- *
4951
- * axes.setTo({"x": 150});
4952
- * axes.get(); // {"x": 100}
4953
- *
4954
- * axes.setAxis({
4955
- * "x": {
4956
- * range: [0, 200]
4957
- * },
4958
- * });
4959
- *
4960
- * axes.setTo({"x": 150});
4961
- * axes.get(); // {"x": 150}
4962
- * ```
4942
+ /**
4943
+ * Change the information of an existing axis.
4944
+ * @ko 존재하는 축의 정보를 변경한다.
4945
+ * @param {Object.<string, AxisOption>} axis Axis options to change <ko>변경할 축의 정보</ko>
4946
+ * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4947
+ * @example
4948
+ * ```js
4949
+ * const axes = new eg.Axes({
4950
+ * "x": {
4951
+ * range: [0, 100]
4952
+ * },
4953
+ * });
4954
+ *
4955
+ * axes.setTo({"x": 150});
4956
+ * axes.get(); // {"x": 100}
4957
+ *
4958
+ * axes.setAxis({
4959
+ * "x": {
4960
+ * range: [0, 200]
4961
+ * },
4962
+ * });
4963
+ *
4964
+ * axes.setTo({"x": 150});
4965
+ * axes.get(); // {"x": 150}
4966
+ * ```
4963
4967
  */
4964
4968
  __proto.setAxis = function (axis) {
4965
4969
  this.axisManager.setAxis(axis);
4966
4970
  return this;
4967
4971
  };
4968
- /**
4969
- * Stop an animation in progress.
4970
- * @ko 재생 중인 애니메이션을 정지한다.
4971
- * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4972
- * @example
4973
- * ```js
4974
- * const axes = new eg.Axes({
4975
- * "x": {
4976
- * range: [0, 100]
4977
- * },
4978
- * });
4979
- *
4980
- * axes.setTo({"x": 10}, 1000); // start animatation
4981
- *
4982
- * // after 500 ms
4983
- * axes.stopAnimation(); // stop animation during movement.
4984
- * ```
4972
+ /**
4973
+ * Stop an animation in progress.
4974
+ * @ko 재생 중인 애니메이션을 정지한다.
4975
+ * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4976
+ * @example
4977
+ * ```js
4978
+ * const axes = new eg.Axes({
4979
+ * "x": {
4980
+ * range: [0, 100]
4981
+ * },
4982
+ * });
4983
+ *
4984
+ * axes.setTo({"x": 10}, 1000); // start animatation
4985
+ *
4986
+ * // after 500 ms
4987
+ * axes.stopAnimation(); // stop animation during movement.
4988
+ * ```
4985
4989
  */
4986
4990
  __proto.stopAnimation = function () {
4987
4991
  this.animationManager.stopAnimation();
4988
4992
  this.animationManager.finish(false);
4989
4993
  return this;
4990
4994
  };
4991
- /**
4992
- * Change the destination of an animation in progress.
4993
- * @ko 재생 중인 애니메이션의 목적지와 진행 시간을 변경한다.
4994
- * @param {UpdateAnimationOption} pos The coordinate to move to <ko>이동할 좌표</ko>
4995
- * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
4996
- * @example
4997
- * ```js
4998
- * const axes = new eg.Axes({
4999
- * "x": {
5000
- * range: [0, 200]
5001
- * },
5002
- * "y": {
5003
- * range: [0, 200]
5004
- * }
5005
- * });
5006
- *
5007
- * axes.setTo({"x": 50, "y": 50}, 1000); // trigger animation by setTo
5008
- *
5009
- * // after 500 ms
5010
- * axes.updateAnimation({destPos: {"x": 100, "y": 100}}); // animation will end after 500 ms, at {"x": 100, "y": 100}
5011
- *
5012
- * // after 500 ms
5013
- * axes.setTo({"x": 50, "y": 50}, 1000); // trigger animation by setTo
5014
- *
5015
- * // after 700 ms
5016
- * axes.updateAnimation({destPos: {"x": 100, "y": 100}, duration: 1500, restart: true}); // this works same as axes.setTo({"x": 100, "y": 100}, 800) since restart is true.
5017
- * ```
4995
+ /**
4996
+ * Change the destination of an animation in progress.
4997
+ * @ko 재생 중인 애니메이션의 목적지와 진행 시간을 변경한다.
4998
+ * @param {UpdateAnimationOption} pos The coordinate to move to <ko>이동할 좌표</ko>
4999
+ * @return {eg.Axes} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
5000
+ * @example
5001
+ * ```js
5002
+ * const axes = new eg.Axes({
5003
+ * "x": {
5004
+ * range: [0, 200]
5005
+ * },
5006
+ * "y": {
5007
+ * range: [0, 200]
5008
+ * }
5009
+ * });
5010
+ *
5011
+ * axes.setTo({"x": 50, "y": 50}, 1000); // trigger animation by setTo
5012
+ *
5013
+ * // after 500 ms
5014
+ * axes.updateAnimation({destPos: {"x": 100, "y": 100}}); // animation will end after 500 ms, at {"x": 100, "y": 100}
5015
+ *
5016
+ * // after 500 ms
5017
+ * axes.setTo({"x": 50, "y": 50}, 1000); // trigger animation by setTo
5018
+ *
5019
+ * // after 700 ms
5020
+ * axes.updateAnimation({destPos: {"x": 100, "y": 100}, duration: 1500, restart: true}); // this works same as axes.setTo({"x": 100, "y": 100}, 800) since restart is true.
5021
+ * ```
5018
5022
  */
5019
5023
  __proto.updateAnimation = function (options) {
5020
5024
  this.animationManager.updateAnimation(options);
5021
5025
  return this;
5022
5026
  };
5023
- /**
5024
- * Returns whether there is a coordinate in the bounce area of ​​the target axis.
5025
- * @ko 대상 축 중 bounce영역에 좌표가 존재하는지를 반환한다
5026
- * @param {Object} [axes] The names of the axis <ko>축 이름들</ko>
5027
- * @return {Boolen} Whether the bounce area exists. <ko>bounce 영역 존재 여부</ko>
5028
- * @example
5029
- * ```js
5030
- * const axes = new eg.Axes({
5031
- * "x": {
5032
- * range: [0, 100]
5033
- * },
5034
- * "xOther": {
5035
- * range: [-100, 100]
5036
- * },
5037
- * "zoom": {
5038
- * range: [50, 30]
5039
- * }
5040
- * });
5041
- *
5042
- * axes.isBounceArea(["x"]);
5043
- * axes.isBounceArea(["x", "zoom"]);
5044
- * axes.isBounceArea();
5045
- * ```
5027
+ /**
5028
+ * Returns whether there is a coordinate in the bounce area of ​​the target axis.
5029
+ * @ko 대상 축 중 bounce영역에 좌표가 존재하는지를 반환한다
5030
+ * @param {Object} [axes] The names of the axis <ko>축 이름들</ko>
5031
+ * @return {Boolen} Whether the bounce area exists. <ko>bounce 영역 존재 여부</ko>
5032
+ * @example
5033
+ * ```js
5034
+ * const axes = new eg.Axes({
5035
+ * "x": {
5036
+ * range: [0, 100]
5037
+ * },
5038
+ * "xOther": {
5039
+ * range: [-100, 100]
5040
+ * },
5041
+ * "zoom": {
5042
+ * range: [50, 30]
5043
+ * }
5044
+ * });
5045
+ *
5046
+ * axes.isBounceArea(["x"]);
5047
+ * axes.isBounceArea(["x", "zoom"]);
5048
+ * axes.isBounceArea();
5049
+ * ```
5046
5050
  */
5047
5051
  __proto.isBounceArea = function (axes) {
5048
5052
  return this.axisManager.isOutside(axes);
5049
5053
  };
5050
- /**
5051
- * Destroys properties, and events used in a module and disconnect all connections to inputTypes.
5052
- * @ko 모듈에 사용한 속성, 이벤트를 해제한다. 모든 inputType과의 연결을 끊는다.
5054
+ /**
5055
+ * Destroys properties, and events used in a module and disconnect all connections to inputTypes.
5056
+ * @ko 모듈에 사용한 속성, 이벤트를 해제한다. 모든 inputType과의 연결을 끊는다.
5053
5057
  */
5054
5058
  __proto.destroy = function () {
5055
5059
  this.disconnect();
5056
5060
  this.eventManager.destroy();
5057
5061
  };
5058
- /**
5059
- * @name VERSION
5060
- * @desc Version info string
5061
- * @ko 버전정보 문자열
5062
- *
5063
- * @constant
5064
- * @type {String}
5065
- * @example
5066
- * ```js
5067
- * eg.Axes.VERSION; // ex) 3.3.3
5068
- * ```
5062
+ /**
5063
+ * @name VERSION
5064
+ * @desc Version info string
5065
+ * @ko 버전정보 문자열
5066
+ *
5067
+ * @constant
5068
+ * @type {String}
5069
+ * @example
5070
+ * ```js
5071
+ * eg.Axes.VERSION; // ex) 3.3.3
5072
+ * ```
5069
5073
  */
5070
- Axes.VERSION = "3.9.1-beta.0";
5074
+ Axes.VERSION = "3.9.1";
5071
5075
  /* eslint-enable */
5072
- /**
5073
- * @name TRANSFORM
5074
- * @desc Returns the transform attribute with CSS vendor prefixes.
5075
- * @ko CSS vendor prefixes를 붙인 transform 속성을 반환한다.
5076
- *
5077
- * @constant
5078
- * @type {String}
5079
- * @example
5080
- * ```js
5081
- * eg.Axes.TRANSFORM; // "transform" or "webkitTransform"
5082
- * ```
5076
+ /**
5077
+ * @name TRANSFORM
5078
+ * @desc Returns the transform attribute with CSS vendor prefixes.
5079
+ * @ko CSS vendor prefixes를 붙인 transform 속성을 반환한다.
5080
+ *
5081
+ * @constant
5082
+ * @type {String}
5083
+ * @example
5084
+ * ```js
5085
+ * eg.Axes.TRANSFORM; // "transform" or "webkitTransform"
5086
+ * ```
5083
5087
  */
5084
5088
  Axes.TRANSFORM = TRANSFORM;
5085
- /**
5086
- * @name DIRECTION_NONE
5087
- * @constant
5088
- * @type {Number}
5089
+ /**
5090
+ * @name DIRECTION_NONE
5091
+ * @constant
5092
+ * @type {Number}
5089
5093
  */
5090
5094
  Axes.DIRECTION_NONE = DIRECTION_NONE;
5091
- /**
5092
- * @name DIRECTION_LEFT
5093
- * @constant
5094
- * @type {Number}
5095
+ /**
5096
+ * @name DIRECTION_LEFT
5097
+ * @constant
5098
+ * @type {Number}
5095
5099
  */
5096
5100
  Axes.DIRECTION_LEFT = DIRECTION_LEFT;
5097
- /**
5098
- * @name DIRECTION_RIGHT
5099
- * @constant
5100
- * @type {Number}
5101
+ /**
5102
+ * @name DIRECTION_RIGHT
5103
+ * @constant
5104
+ * @type {Number}
5101
5105
  */
5102
5106
  Axes.DIRECTION_RIGHT = DIRECTION_RIGHT;
5103
- /**
5104
- * @name DIRECTION_UP
5105
- * @constant
5106
- * @type {Number}
5107
+ /**
5108
+ * @name DIRECTION_UP
5109
+ * @constant
5110
+ * @type {Number}
5107
5111
  */
5108
5112
  Axes.DIRECTION_UP = DIRECTION_UP;
5109
- /**
5110
- * @name DIRECTION_DOWN
5111
- * @constant
5112
- * @type {Number}
5113
+ /**
5114
+ * @name DIRECTION_DOWN
5115
+ * @constant
5116
+ * @type {Number}
5113
5117
  */
5114
5118
  Axes.DIRECTION_DOWN = DIRECTION_DOWN;
5115
- /**
5116
- * @name DIRECTION_HORIZONTAL
5117
- * @constant
5118
- * @type {Number}
5119
+ /**
5120
+ * @name DIRECTION_HORIZONTAL
5121
+ * @constant
5122
+ * @type {Number}
5119
5123
  */
5120
5124
  Axes.DIRECTION_HORIZONTAL = DIRECTION_HORIZONTAL;
5121
- /**
5122
- * @name DIRECTION_VERTICAL
5123
- * @constant
5124
- * @type {Number}
5125
+ /**
5126
+ * @name DIRECTION_VERTICAL
5127
+ * @constant
5128
+ * @type {Number}
5125
5129
  */
5126
5130
  Axes.DIRECTION_VERTICAL = DIRECTION_VERTICAL;
5127
- /**
5128
- * @name DIRECTION_ALL
5129
- * @constant
5130
- * @type {Number}
5131
+ /**
5132
+ * @name DIRECTION_ALL
5133
+ * @constant
5134
+ * @type {Number}
5131
5135
  */
5132
5136
  Axes.DIRECTION_ALL = DIRECTION_ALL;
5133
5137
  __decorate([Computed], Axes.prototype, "holding", null);
@@ -5135,9 +5139,9 @@ version: 4.11.4-beta.0
5135
5139
  return Axes;
5136
5140
  }(Component);
5137
5141
 
5138
- /*
5139
- * Copyright (c) 2015 NAVER Corp.
5140
- * egjs projects are licensed under the MIT license
5142
+ /*
5143
+ * Copyright (c) 2015 NAVER Corp.
5144
+ * egjs projects are licensed under the MIT license
5141
5145
  */
5142
5146
  // get user's direction
5143
5147
  var getDirectionByAngle = function (angle, thresholdAngle) {
@@ -5147,73 +5151,73 @@ version: 4.11.4-beta.0
5147
5151
  var toAngle = Math.abs(angle);
5148
5152
  return toAngle > thresholdAngle && toAngle < 180 - thresholdAngle ? DIRECTION_VERTICAL : DIRECTION_HORIZONTAL;
5149
5153
  };
5150
- /**
5151
- * @typedef {Object} PanInputOption The option object of the eg.Axes.PanInput module.
5152
- * @ko eg.Axes.PanInput 모듈의 옵션 객체
5153
- * @param {String[]} [inputType=["touch", "mouse", "pointer"]] Types of input devices
5154
- * - touch: Touch screen
5155
- * - mouse: Mouse
5156
- * - pointer: Mouse and touch <ko>입력 장치 종류
5157
- * - touch: 터치 입력 장치
5158
- * - mouse: 마우스
5159
- * - pointer: 마우스 및 터치</ko>
5160
- * @param {String[]} [inputKey=["any"]] List of key combinations to allow input
5161
- * - any: any key
5162
- * - shift: shift key
5163
- * - ctrl: ctrl key and pinch gesture on the trackpad
5164
- * - alt: alt key
5165
- * - meta: meta key
5166
- * - none: none of these keys are pressed <ko>입력을 허용할 키 조합 목록
5167
- * - any: 아무 키
5168
- * - shift: shift 키
5169
- * - ctrl: ctrl 키 및 트랙패드의 pinch 제스쳐
5170
- * - alt: alt 키
5171
- * - meta: meta 키
5172
- * - none: 아무 키도 눌리지 않은 상태 </ko>
5173
- * @param {String[]} [inputButton=["left"]] List of buttons to allow input
5174
- * - left: Left mouse button and normal touch
5175
- * - middle: Mouse wheel press
5176
- * - right: Right mouse button <ko>입력을 허용할 버튼 목록
5177
- * - left: 마우스 왼쪽 버튼
5178
- * - middle: 마우스 휠 눌림
5179
- * - right: 마우스 오른쪽 버튼 </ko>
5180
- * @param {Number[]} [scale] Coordinate scale that a user can move<ko>사용자의 동작으로 이동하는 좌표의 배율</ko>
5181
- * @param {Number} [scale[0]=1] horizontal axis scale <ko>수평축 배율</ko>
5182
- * @param {Number} [scale[1]=1] vertical axis scale <ko>수직축 배율</ko>
5183
- * @param {Number} [thresholdAngle=45] The threshold value that determines whether user action is horizontal or vertical (0~90) <ko>사용자의 동작이 가로 방향인지 세로 방향인지 판단하는 기준 각도(0~90)</ko>
5184
- * @param {Number} [threshold=0] Minimal pan distance required before recognizing <ko>사용자의 Pan 동작을 인식하기 위해산 최소한의 거리</ko>
5185
- * @param {Boolean} [preventClickOnDrag=false] Whether to cancel the {@link https://developer.mozilla.org/en/docs/Web/API/Element/click_event click} event when the user finishes dragging more than 1 pixel <ko>사용자가 1픽셀 이상 드래그를 마쳤을 때 {@link https://developer.mozilla.org/ko/docs/Web/API/Element/click_event click} 이벤트 취소 여부</ko>
5186
- * @param {Boolean} [preventDefaultOnDrag=false] Whether to use the {@link https://developer.mozilla.org/ko/docs/Web/API/Event/preventDefault preventDefault} when the user starts dragging <ko>사용자가 드래그를 시작할 때 {@link https://developer.mozilla.org/ko/docs/Web/API/Event/preventDefault preventDefault} 실행 여부</ko>
5187
- * @param {Number} [iOSEdgeSwipeThreshold=30] Area (px) that can go to the next page when swiping the right edge in iOS safari <ko>iOS Safari에서 오른쪽 엣지를 스와이프 하는 경우 다음 페이지로 넘어갈 수 있는 영역(px)</ko>
5188
- * @param {String} [touchAction=null] Value that overrides the element's "touch-action" css property. If set to null, it is automatically set to prevent scrolling in the direction of the connected axis. <ko>엘리먼트의 "touch-action" CSS 속성을 덮어쓰는 값. 만약 null로 설정된 경우, 연결된 축 방향으로의 스크롤을 방지하게끔 자동으로 설정된다.</ko>
5154
+ /**
5155
+ * @typedef {Object} PanInputOption The option object of the eg.Axes.PanInput module.
5156
+ * @ko eg.Axes.PanInput 모듈의 옵션 객체
5157
+ * @param {String[]} [inputType=["touch", "mouse", "pointer"]] Types of input devices
5158
+ * - touch: Touch screen
5159
+ * - mouse: Mouse
5160
+ * - pointer: Mouse and touch <ko>입력 장치 종류
5161
+ * - touch: 터치 입력 장치
5162
+ * - mouse: 마우스
5163
+ * - pointer: 마우스 및 터치</ko>
5164
+ * @param {String[]} [inputKey=["any"]] List of key combinations to allow input
5165
+ * - any: any key
5166
+ * - shift: shift key
5167
+ * - ctrl: ctrl key and pinch gesture on the trackpad
5168
+ * - alt: alt key
5169
+ * - meta: meta key
5170
+ * - none: none of these keys are pressed <ko>입력을 허용할 키 조합 목록
5171
+ * - any: 아무 키
5172
+ * - shift: shift 키
5173
+ * - ctrl: ctrl 키 및 트랙패드의 pinch 제스쳐
5174
+ * - alt: alt 키
5175
+ * - meta: meta 키
5176
+ * - none: 아무 키도 눌리지 않은 상태 </ko>
5177
+ * @param {String[]} [inputButton=["left"]] List of buttons to allow input
5178
+ * - left: Left mouse button and normal touch
5179
+ * - middle: Mouse wheel press
5180
+ * - right: Right mouse button <ko>입력을 허용할 버튼 목록
5181
+ * - left: 마우스 왼쪽 버튼
5182
+ * - middle: 마우스 휠 눌림
5183
+ * - right: 마우스 오른쪽 버튼 </ko>
5184
+ * @param {Number[]} [scale] Coordinate scale that a user can move<ko>사용자의 동작으로 이동하는 좌표의 배율</ko>
5185
+ * @param {Number} [scale[0]=1] horizontal axis scale <ko>수평축 배율</ko>
5186
+ * @param {Number} [scale[1]=1] vertical axis scale <ko>수직축 배율</ko>
5187
+ * @param {Number} [thresholdAngle=45] The threshold value that determines whether user action is horizontal or vertical (0~90) <ko>사용자의 동작이 가로 방향인지 세로 방향인지 판단하는 기준 각도(0~90)</ko>
5188
+ * @param {Number} [threshold=0] Minimal pan distance required before recognizing <ko>사용자의 Pan 동작을 인식하기 위해산 최소한의 거리</ko>
5189
+ * @param {Boolean} [preventClickOnDrag=false] Whether to cancel the {@link https://developer.mozilla.org/en/docs/Web/API/Element/click_event click} event when the user finishes dragging more than 1 pixel <ko>사용자가 1픽셀 이상 드래그를 마쳤을 때 {@link https://developer.mozilla.org/ko/docs/Web/API/Element/click_event click} 이벤트 취소 여부</ko>
5190
+ * @param {Boolean} [preventDefaultOnDrag=false] Whether to use the {@link https://developer.mozilla.org/ko/docs/Web/API/Event/preventDefault preventDefault} when the user starts dragging <ko>사용자가 드래그를 시작할 때 {@link https://developer.mozilla.org/ko/docs/Web/API/Event/preventDefault preventDefault} 실행 여부</ko>
5191
+ * @param {Number} [iOSEdgeSwipeThreshold=30] Area (px) that can go to the next page when swiping the right edge in iOS safari <ko>iOS Safari에서 오른쪽 엣지를 스와이프 하는 경우 다음 페이지로 넘어갈 수 있는 영역(px)</ko>
5192
+ * @param {String} [touchAction=null] Value that overrides the element's "touch-action" css property. If set to null, it is automatically set to prevent scrolling in the direction of the connected axis. <ko>엘리먼트의 "touch-action" CSS 속성을 덮어쓰는 값. 만약 null로 설정된 경우, 연결된 축 방향으로의 스크롤을 방지하게끔 자동으로 설정된다.</ko>
5189
5193
  **/
5190
- /**
5191
- * A module that passes the amount of change to eg.Axes when the mouse or touchscreen is down and moved. use less than two axes.
5192
- * @ko 마우스나 터치 스크린을 누르고 움직일때의 변화량을 eg.Axes에 전달하는 모듈. 두개 이하의 축을 사용한다.
5193
- *
5194
- * @example
5195
- * ```js
5196
- * const pan = new eg.Axes.PanInput("#area", {
5197
- * inputType: ["touch"],
5198
- * scale: [1, 1.3],
5199
- * });
5200
- *
5201
- * // Connect the 'something2' axis to the mouse or touchscreen x position when the mouse or touchscreen is down and moved.
5202
- * // Connect the 'somethingN' axis to the mouse or touchscreen y position when the mouse or touchscreen is down and moved.
5203
- * axes.connect(["something2", "somethingN"], pan); // or axes.connect("something2 somethingN", pan);
5204
- *
5205
- * // Connect only one 'something1' axis to the mouse or touchscreen x position when the mouse or touchscreen is down and moved.
5206
- * axes.connect(["something1"], pan); // or axes.connect("something1", pan);
5207
- *
5208
- * // Connect only one 'something2' axis to the mouse or touchscreen y position when the mouse or touchscreen is down and moved.
5209
- * axes.connect(["", "something2"], pan); // or axes.connect(" something2", pan);
5210
- * ```
5211
- * @param {String|HTMLElement|Ref<HTMLElement>|jQuery} element An element to use the eg.Axes.PanInput module <ko>eg.Axes.PanInput 모듈을 사용할 엘리먼트</ko>
5212
- * @param {PanInputOption} [options={}] The option object of the eg.Axes.PanInput module<ko>eg.Axes.PanInput 모듈의 옵션 객체</ko>
5194
+ /**
5195
+ * A module that passes the amount of change to eg.Axes when the mouse or touchscreen is down and moved. use less than two axes.
5196
+ * @ko 마우스나 터치 스크린을 누르고 움직일때의 변화량을 eg.Axes에 전달하는 모듈. 두개 이하의 축을 사용한다.
5197
+ *
5198
+ * @example
5199
+ * ```js
5200
+ * const pan = new eg.Axes.PanInput("#area", {
5201
+ * inputType: ["touch"],
5202
+ * scale: [1, 1.3],
5203
+ * });
5204
+ *
5205
+ * // Connect the 'something2' axis to the mouse or touchscreen x position when the mouse or touchscreen is down and moved.
5206
+ * // Connect the 'somethingN' axis to the mouse or touchscreen y position when the mouse or touchscreen is down and moved.
5207
+ * axes.connect(["something2", "somethingN"], pan); // or axes.connect("something2 somethingN", pan);
5208
+ *
5209
+ * // Connect only one 'something1' axis to the mouse or touchscreen x position when the mouse or touchscreen is down and moved.
5210
+ * axes.connect(["something1"], pan); // or axes.connect("something1", pan);
5211
+ *
5212
+ * // Connect only one 'something2' axis to the mouse or touchscreen y position when the mouse or touchscreen is down and moved.
5213
+ * axes.connect(["", "something2"], pan); // or axes.connect(" something2", pan);
5214
+ * ```
5215
+ * @param {String|HTMLElement|Ref<HTMLElement>|jQuery} element An element to use the eg.Axes.PanInput module <ko>eg.Axes.PanInput 모듈을 사용할 엘리먼트</ko>
5216
+ * @param {PanInputOption} [options={}] The option object of the eg.Axes.PanInput module<ko>eg.Axes.PanInput 모듈의 옵션 객체</ko>
5213
5217
  */
5214
5218
  var PanInput = /*#__PURE__*/function () {
5215
- /**
5216
- *
5219
+ /**
5220
+ *
5217
5221
  */
5218
5222
  function PanInput(el, options) {
5219
5223
  var _this = this;
@@ -5270,18 +5274,18 @@ version: 4.11.4-beta.0
5270
5274
  this._direction = DIRECTION_NONE;
5271
5275
  return this;
5272
5276
  };
5273
- /**
5274
- * Destroys elements, properties, and events used in a module.
5275
- * @ko 모듈에 사용한 엘리먼트와 속성, 이벤트를 해제한다.
5277
+ /**
5278
+ * Destroys elements, properties, and events used in a module.
5279
+ * @ko 모듈에 사용한 엘리먼트와 속성, 이벤트를 해제한다.
5276
5280
  */
5277
5281
  __proto.destroy = function () {
5278
5282
  this.disconnect();
5279
5283
  this.element = null;
5280
5284
  };
5281
- /**
5282
- * Enables input devices
5283
- * @ko 입력 장치를 사용할 수 있게 한다
5284
- * @return {PanInput} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
5285
+ /**
5286
+ * Enables input devices
5287
+ * @ko 입력 장치를 사용할 수 있게 한다
5288
+ * @return {PanInput} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
5285
5289
  */
5286
5290
  __proto.enable = function () {
5287
5291
  if (!this._enabled) {
@@ -5290,10 +5294,10 @@ version: 4.11.4-beta.0
5290
5294
  }
5291
5295
  return this;
5292
5296
  };
5293
- /**
5294
- * Disables input devices
5295
- * @ko 입력 장치를 사용할 수 없게 한다.
5296
- * @return {PanInput} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
5297
+ /**
5298
+ * Disables input devices
5299
+ * @ko 입력 장치를 사용할 수 없게 한다.
5300
+ * @return {PanInput} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
5297
5301
  */
5298
5302
  __proto.disable = function () {
5299
5303
  if (this._enabled) {
@@ -5304,18 +5308,18 @@ version: 4.11.4-beta.0
5304
5308
  }
5305
5309
  return this;
5306
5310
  };
5307
- /**
5308
- * Returns whether to use an input device
5309
- * @ko 입력 장치 사용 여부를 반환한다.
5310
- * @return {Boolean} Whether to use an input device <ko>입력장치 사용여부</ko>
5311
+ /**
5312
+ * Returns whether to use an input device
5313
+ * @ko 입력 장치 사용 여부를 반환한다.
5314
+ * @return {Boolean} Whether to use an input device <ko>입력장치 사용여부</ko>
5311
5315
  */
5312
5316
  __proto.isEnabled = function () {
5313
5317
  return this._enabled;
5314
5318
  };
5315
- /**
5316
- * Releases current user input.
5317
- * @ko 사용자의 입력을 강제로 중단시킨다.
5318
- * @return {PanInput} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
5319
+ /**
5320
+ * Releases current user input.
5321
+ * @ko 사용자의 입력을 강제로 중단시킨다.
5322
+ * @return {PanInput} An instance of a module itself <ko>모듈 자신의 인스턴스</ko>
5319
5323
  */
5320
5324
  __proto.release = function () {
5321
5325
  var activeEvent = this._activeEvent;
@@ -5488,9 +5492,9 @@ version: 4.11.4-beta.0
5488
5492
  return PanInput;
5489
5493
  }();
5490
5494
 
5491
- /*
5492
- * Copyright (c) 2015 NAVER Corp.
5493
- * egjs projects are licensed under the MIT license
5495
+ /*
5496
+ * Copyright (c) 2015 NAVER Corp.
5497
+ * egjs projects are licensed under the MIT license
5494
5498
  */
5495
5499
 
5496
5500
  var Axes$1 = Axes;
@@ -9880,6 +9884,9 @@ version: 4.11.4-beta.0
9880
9884
  var activePanel = control.activePanel;
9881
9885
  // Update camera & control
9882
9886
  this._updateCameraAndControl();
9887
+ if (flicking.autoResize) {
9888
+ flicking.autoResizer.enable();
9889
+ }
9883
9890
  void this.render();
9884
9891
  if (!flicking.animating) {
9885
9892
  if (!activePanel || activePanel.removed) {
@@ -11295,6 +11302,13 @@ version: 4.11.4-beta.0
11295
11302
  enumerable: false,
11296
11303
  configurable: true
11297
11304
  });
11305
+ Object.defineProperty(__proto, "autoResizer", {
11306
+ get: function () {
11307
+ return this._autoResizer;
11308
+ },
11309
+ enumerable: false,
11310
+ configurable: true
11311
+ });
11298
11312
  Object.defineProperty(__proto, "initialized", {
11299
11313
  // Internal States
11300
11314
  /**
@@ -12966,7 +12980,7 @@ version: 4.11.4-beta.0
12966
12980
  * Flicking.VERSION; // ex) 4.0.0
12967
12981
  * ```
12968
12982
  */
12969
- Flicking.VERSION = "4.11.4-beta.0";
12983
+ Flicking.VERSION = "4.11.5-beta.0";
12970
12984
  return Flicking;
12971
12985
  }(Component);
12972
12986