diff --git a/src/class.js b/src/class.js index f0bb5942..d4e74632 100644 --- a/src/class.js +++ b/src/class.js @@ -9,7 +9,7 @@ eg.module("class", [eg], function(ns) { * @class * @name eg.Class * - * @support {"ie": "7+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)", "n-ios" : "latest", "n-an" : "latest" } + * @support {"ie": "7+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)"} * @param {Object} def Class definition of object literal type. 리터럴 형태의 클래스 정의부 * @example var Some = eg.Class({ diff --git a/src/component.js b/src/component.js index ddab7c58..f5de8d1e 100644 --- a/src/component.js +++ b/src/component.js @@ -7,7 +7,7 @@ eg.module("component", [eg], function(ns) { * @group egjs * @name eg.Component * - * @support {"ie": "7+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)", "n-ios" : "latest", "n-an" : "latest" } + * @support {"ie": "7+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)"} */ ns.Component = ns.Class({ construct: function() { diff --git a/src/customEvent/rotate.js b/src/customEvent/rotate.js index 9b01e739..30b0fd16 100644 --- a/src/customEvent/rotate.js +++ b/src/customEvent/rotate.js @@ -15,7 +15,7 @@ eg.module("rotate", ["jQuery", eg, window, document], function($, ns, global, do * @event * @param {Event} e event * @param {Boolean} e.isVertical vertical 수직여부 - * @support { "ios" : "7+", "an" : "2.1+ (except 3.x)", "n-ios" : "latest", "n-an" : "latest" } + * @support { "ios" : "7+", "an" : "2.1+ (except 3.x)"} * @example * $(window).on("rotate",function(e){ * e.isVertical; diff --git a/src/customEvent/scrollEnd.js b/src/customEvent/scrollEnd.js index a418bd64..e0647abe 100644 --- a/src/customEvent/scrollEnd.js +++ b/src/customEvent/scrollEnd.js @@ -10,7 +10,7 @@ eg.module("scrollEnd", ["jQuery", eg, window], function($, ns, global) { * @event * @param {Number} e.top top position 상단(top) 위치 값 * @param {Number} e.left left position 왼쪽(left) 위치 값 - * @support {"ie": "9+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)", "n-ios" : "latest", "n-an" : "latest" } + * @support {"ie": "9+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)"} * @example * $(window).on("scrollend",function(e){ * e.top; diff --git a/src/flicking.js b/src/flicking.js index 91533243..f9762460 100644 --- a/src/flicking.js +++ b/src/flicking.js @@ -54,44 +54,6 @@ eg.module("flicking", ["jQuery", eg, window, document, eg.MovableCoord], functio ); */ - /** - * Flicking plugin in jQuery - * - * @ko jQuery flicking plugin - * @name jQuery#flicking - * @event - * @example - -
-
-

Layer 0

-
-
-

Layer 1

-
-
-

Layer 2

-
-
- - * @see eg.Flicking - */ // define custom events name var EVENTS = { @@ -581,7 +543,6 @@ eg.module("flicking", ["jQuery", eg, window, document, eg.MovableCoord], functio * @ko 패널이 이동될 때 발생하는 이벤트 * @name eg.Flicking#flick * @event - * * @param {Object} param * @param {String} param.eventType Name of event 이벤트명 * @param {Number} param.index Current panel physical index 현재 패널 물리적 인덱스 @@ -1212,4 +1173,94 @@ eg.module("flicking", ["jQuery", eg, window, document, eg.MovableCoord], functio return this; } }); -}); \ No newline at end of file +}); +/** + * Flicking in jQuery plugin + * + * @ko Flicking in jQuery plugin + * @method jQuery.flicking + * @example +
+
+

Layer 0

+
+
+

Layer 1

+
+
+

Layer 2

+
+
+ + * @see eg.Flicking + */ +/** + * flicking:beforeRestore jQuery event plugin + * + * @ko flicking:beforeRestore jQuery event plugin + * @name jQuery#flicking:beforeRestore + * @event + * @example + $("#mflick").on("flicking:beforeRestore",callback); + $("#mflick").off("flicking:beforeRestore",callback); + $("#mflick").trigger("flicking:beforeRestore",callback); + * @see eg.Flicking#event:beforeRestore + */ +/** + * flicking:beforeFlickStart jQuery event plugin + * + * @ko flicking:beforeFlickStart jQuery event plugin + * @name jQuery#flicking:beforeFlickStart + * @event + * @example + $("#mflick").on("flicking:beforeFlickStart",callback); + $("#mflick").off("flicking:beforeFlickStart",callback); + $("#mflick").trigger("flicking:beforeFlickStart",callback); + * @see eg.Flicking#event:beforeFlickStart + */ +/** + * flicking:flick jQuery event plugin + * + * @ko flicking:flick jQuery event plugin + * @name jQuery#flicking:flick + * @event + * @example + $("#mflick").on("flicking:flick",callback); + $("#mflick").off("flicking:flick",callback); + $("#mflick").trigger("flicking:flick",callback); + * @see eg.Flicking#event:flick + */ +/** + * flicking:flickEnd jQuery event plugin + * + * @ko flicking:flickEnd jQuery event plugin + * @name jQuery#flicking:flickEnd + * @event + * @example + $("#mflick").on("flicking:flickEnd",callback); + $("#mflick").off("flicking:flickEnd",callback); + $("#mflick").trigger("flicking:flickEnd",callback); + * @see eg.Flicking#event:flickEnd + */ +/** + * flicking:restore jQuery event plugin + * + * @ko flicking:restore jQuery event plugin + * @name jQuery#flicking:restore + * @event + * @example + $("#mflick").on("flicking:restore",callback); + $("#mflick").off("flicking:restore",callback); + $("#mflick").trigger("flicking:restore",callback); + * @see eg.Flicking#event:restore + */ \ No newline at end of file diff --git a/src/hook/animate.js b/src/hook/animate.js index b8dabc20..18af4a92 100644 --- a/src/hook/animate.js +++ b/src/hook/animate.js @@ -17,7 +17,7 @@ eg.module("animate", ["jQuery", window], function($, global) { * .animate({"transform" : "+=translate3d(150px, 10%, -20px) rotate(20deg) scale3d(2, 4.2, 1)"} , 3000); * @see {@link http://api.jquery.com/animate/} * - * @support {"ie": "10+", "ch" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.3+ (except 3.x)", "n-ios" : "latest", "n-an" : "latest" } + * @support {"ie": "10+", "ch" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.3+ (except 3.x)"} */ var supportFloat32Array = "Float32Array" in window; var CSSMatrix = global.WebKitCSSMatrix || global.MSCSSMatrix || diff --git a/src/hook/css.js b/src/hook/css.js index 9eb1f4a7..0076fcf3 100644 --- a/src/hook/css.js +++ b/src/hook/css.js @@ -8,7 +8,7 @@ eg.module("css", ["jQuery", document], function($, doc) { * @name jQuery#css * @method * - * * @support {"ie": "10+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)", "n-ios" : "latest", "n-an" : "latest" } + * * @support {"ie": "10+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)"} * @example * $("#ID").css("transform", "translate('10px', '10px'); * $("#ID").css("Transform", "translate('10px', '10px'); diff --git a/src/infiniteGrid.js b/src/infiniteGrid.js index 9a4f900c..3b4cb3a4 100644 --- a/src/infiniteGrid.js +++ b/src/infiniteGrid.js @@ -207,7 +207,7 @@ eg.module("infiniteGrid", ["jQuery", eg, window, "Outlayer"], function($, ns, gl * @param {Number} [options.count=30] when count value is greater than 0, grid will maintain same DOM length recycling count값이 0보다 클 경우, 그리드는 일정한 dom 개수를 유지한다 * * @codepen {"id":"zvrbap", "ko":"InfiniteGrid 데모", "en":"InfiniteGrid example", "collectionId":"DPYEww", "height": 403} - * @support {"ie": "8+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)", "n-ios" : "latest", "n-an" : "latest" } + * @support {"ie": "8+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)"} * * @see Outlayer {@link https://github.com/metafizzy/outlayer} * @@ -716,13 +716,13 @@ eg.module("infiniteGrid", ["jQuery", eg, window, "Outlayer"], function($, ns, gl * @see eg.InfiniteGrid */ @@ -732,10 +732,6 @@ eg.module("infiniteGrid", ["jQuery", eg, window, "Outlayer"], function($, ns, gl * @ko infiniteGrid:layoutComplete jQuery event plugin * @name jQuery#infiniteGrid:layoutComplete * @event - * @param {Object} param - * @param {Array} param.target target rearranged elements재배치된 엘리먼트들 - * @param {Boolean} param.isAppend isAppend determine if append or prepend (value is true when call layout method)아이템이 append로 추가되었는지, prepend로 추가되었는지를 반한환다. (layout호출시에는 true) - * @param {Number} param.distance distancelayout 전의 최상단 엘리먼트의 거리 * @example - * @see eg.InfiniteGrid + * @see eg.InfiniteGrid#event:layoutComplete */ diff --git a/src/movableCoord.js b/src/movableCoord.js index fec3eb4e..0bbcdbaa 100644 --- a/src/movableCoord.js +++ b/src/movableCoord.js @@ -54,7 +54,7 @@ eg.module("movableCoord", ["jQuery", eg, "Hammer"], function($, ns, HM) { * @see Easing Functions Cheat Sheet {@link http://easings.net/} * @see To use other easing functions, import jQuery easing plugin({@link http://gsgd.co.uk/sandbox/jquery/easing/}) or jQuery UI easing.({@link https://jqueryui.com/easing/})다른 easing 함수를 사용하고 싶다면, jQuery easing plugin({@link http://gsgd.co.uk/sandbox/jquery/easing/})이나, jQuery UI easing({@link https://jqueryui.com/easing/}) 라이브러리를 삽입해야 한다. * - * @support {"ie": "10+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.3+ (except 3.x)", "n-ios" : "latest", "n-an" : "latest" } + * @support {"ie": "10+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.3+ (except 3.x)"} */ var MC = ns.MovableCoord = ns.Class.extend(ns.Component, { construct: function(options) { diff --git a/src/plugin/persist.js b/src/plugin/persist.js index add074c7..82a18c26 100644 --- a/src/plugin/persist.js +++ b/src/plugin/persist.js @@ -135,7 +135,7 @@ eg.module("persist", ["jQuery", eg, window, document], function($, ns, global, d * Save current state * @ko 인자로 넘긴 현재 상태정보를 저장한다. * @method jQuery.persist - * @support {"ie": "9+", "ch" : "latest", "ff" : "1.5+", "sf" : "latest", "ios" : "7+", "an" : "2.2+ (except 3.x)", "n-ios" : "latest", "n-an" : "latest" } + * @support {"ie": "9+", "ch" : "latest", "ff" : "1.5+", "sf" : "latest", "ios" : "7+", "an" : "2.2+ (except 3.x)"} * @param {Object} state State object to be stored in order to restore UI component's state UI 컴포넌트의 상태를 복원하기위해 저장하려는 상태 객체 * @example $("a").on("click",function(e){ diff --git a/src/visible.js b/src/visible.js index b7f4f828..c00ee660 100644 --- a/src/visible.js +++ b/src/visible.js @@ -9,13 +9,13 @@ eg.module("visible", ["jQuery", eg, document], function($, ns, doc) { * @extends eg.Component * @group egjs * + * @param {HTMLElement|String|jQuery} [element=document] The parent element that to check targets (wrapper is only one.) 확인할 영역의 상위 엘리먼트 * @param {Object} options - * @param {HTMLElement|String|jQuery} [options.wrapper=document] The parent element that to check targets (wrapper is only one.) 확인할 영역의 상위 엘리먼트 * @param {String} [options.targetClass="check_visible"] A class name of targets 확인할 엘리먼트가 가진 클래스명 * @param {Number} [options.expandSize=0] expand size of the wrapper. * e.g. If a wrapper size is 100 x 100 and 'expandSize' option is 20, visible range is 120 x 120 * 상위 엘리먼트 기준으로 추가적인 영역을 확인하도록 지정 - * @support {"ie": "7+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)", "n-ios" : "latest", "n-an" : "latest" } + * @support {"ie": "7+", "ch" : "latest", "ff" : "latest", "sf" : "latest", "ios" : "7+", "an" : "2.1+ (except 3.x)"} * * @codepen {"id":"WbWzqq", "ko":"Visible 기본 예제", "en":"Visible basic example", "collectionId":"Ayrabj", "height" : 403} */ @@ -222,5 +222,5 @@ eg.module("visible", ["jQuery", eg, document], function($, ns, doc) { $("body").visible("option","circular",true); //Set option $("body").visible("instance"); // Return flicking instance $("body").visible("check",10); // Check to change target elements. - * @see eg.Visble + * @see eg.Visble#event:change */