-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(infiniteGrid): fix return value of getBottomElement #470
Conversation
- add comment ref naver#467
src/infiniteGrid.js
Outdated
@@ -425,15 +425,15 @@ eg.module("infiniteGrid", ["jQuery", eg, window, document], function($, ns, glob | |||
* @ko 레이아웃의 맨 아래에 있는 카드 엘리먼트를 반환한다. | |||
* @method eg.InfiniteGrid#getBottomElement | |||
* | |||
* @return {HTMLElement} Card element at the bottom of a layout <ko>레이아웃의 맨 아래에 있는 카드 엘리먼트</ko> | |||
* @return {HTMLElement} Card element at the bottom of a layout (f the position of card element is same, returns right element)<ko>레이아웃의 맨 아래에 있는 카드 엘리먼트 (카드의 위치가 같은 경우, 오른쪽 엘리먼트가 반환된다)</ko> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the position of card elements are same, it returns the last right element
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I applied it
src/infiniteGrid.js
Outdated
@@ -395,7 +395,7 @@ eg.module("infiniteGrid", ["jQuery", eg, window, document], function($, ns, glob | |||
* @ko 레이아웃의 맨 위에 있는 카드 엘리먼트를 반환한다. | |||
* @method eg.InfiniteGrid#getTopElement | |||
* | |||
* @return {HTMLElement} Card element at the top of a layout <ko>레이아웃의 맨 위에 있는 카드 엘리먼트</ko> | |||
* @return {HTMLElement} Card element at the top of a layout. (if the position of card element is same, returns left element) <ko>레이아웃의 맨 위에 있는 카드 엘리먼트 (카드의 위치가 같은 경우, 왼쪽 엘리먼트가 반환된다)</ko> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the position of card elements are same, it returns the first left element
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I applied it
* fix(infiniteGrid): fix return value of getBottomElement close #467 * skip: apply review
Issue
#467
Details
Preferred reviewers
@netil