Skip to content

Commit

Permalink
Merge pull request #385 from alexander-alvarez/fix-deprecations
Browse files Browse the repository at this point in the history
Fixes 'onScroll' deprecation
  • Loading branch information
offirgolan authored Apr 19, 2017
2 parents a81ee95 + 2f77767 commit 2b94bf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addon/components/lt-body.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ export default Component.extend({
},

/**
* onScroll action - sent when user scrolls
* onScroll action - sent when user scrolls in the Y direction
*
* This only works when `useVirtualScrollbar` is `true`, i.e. when you are
* using fixed headers / footers.
Expand Down
2 changes: 1 addition & 1 deletion addon/templates/components/lt-body.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
virtualScrollbar=useVirtualScrollbar
autoHide=autoHideScrollbar
scrollTo=targetScrollOffset
onScroll=(action 'onScroll')
onScrollToY=(action 'onScroll')
}}
<div id={{concat tableId '_inline_head'}} class="lt-inline lt-head"></div>

Expand Down
2 changes: 1 addition & 1 deletion addon/templates/components/lt-scrollable.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
horizontal=horizontal
vertical=vertical
scrollToY=scrollTo
onScroll=onScroll
onScrollToY=onScrollToY
as |scrollbar|
}}
{{yield}}
Expand Down

0 comments on commit 2b94bf7

Please sign in to comment.