I just installed to my Ember.js project ember-scrollable lib (https://github.com/alphasights/ember-scrollable) using npm: npm i [email protected] --save and included my code into {{#ember-scrollable tag.
I used this lib according official manual (https://github.com/alphasights/ember-scrollable), and on the first side I did everything correct. Maybe somebody knows, what I did incorrect. The main idea is that to get event when i scroll to the bottom of the table. Also no matter what the npm-lib will use to reach this, but I need to get example of workable solution on git or other source, because I didn't find it on the internet.
{{#ember-scrollable
onScrolledToBottom=(action 'log' 'Bottom reached!')
}}
...TABLE CONTENT
{{/ember-scrollable}}
In my case, when i opened console, I got an error:
ember.debug.js:2532 Uncaught TypeError: Cannot read property 'setAttribute' of undefined at DOMHelper.prototype.setAttribute (ember.debug.js:2532)