npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.


hello community, I am new, I am tulizando Emberjs, I have a question using infinity scrolling, I followed the basic steps of the page
but I think something is wrong, I can not visualize the scrolling function … someone who can help me. Thank you.

import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';

export default Route.extend({

    infinity: service(),

    model() {
        return this.infinity.model('chat', { perPage: 5, startingPage: 1 });


{{#each model as |chat|}}

        <div class="chatContactos hero" >
            <div class="w3-cell" style="width:30%;">
                <img src="media/in9.jpg" alt="Avatar" class="w3-circleChat">
            <div class="w3-cell w3-container" style="width:100%;">
                <h4 style="margin-bottom: 2px">{{mensajes.sender}}</h4>
            <span style="margin-left: 63%; margin-top: -10%">
{{infinity-loader infinityModel=model hideOnInfinity=true
  loadedText="Loaded!" eventDebounce=50 triggerOffset=offset }}


@issues, I hope you found a solution, but if it’s not the case, you can ask your question to the maintainers of this package at .