Skip to content
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

Merged
merged 2 commits into from
Mar 7, 2017

Conversation

sculove
Copy link
Contributor

@sculove sculove commented Mar 7, 2017

Issue

#467

Details

  • if the position of element is same, getBottomElement returns right element.
  • add comment

Preferred reviewers

@netil

@sculove sculove added this to the 1.5.0 milestone Mar 7, 2017
@sculove sculove self-assigned this Mar 7, 2017
@sculove sculove requested a review from netil March 7, 2017 05:49
@@ -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>
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I applied it

@@ -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>
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I applied it

@sculove sculove merged commit 64bdb65 into naver:master Mar 7, 2017
@sculove sculove deleted the getbottom#467 branch March 7, 2017 07:42
malangfox pushed a commit that referenced this pull request Jan 6, 2025
* fix(infiniteGrid): fix return value of getBottomElement

close #467

* skip: apply review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants