Questions tagged [nginfinitescroll]

ngInfiniteScroll is a directive that you can use to implement infinite scrolling in AngularJS applications.

ngInfiniteScroll is a directive that you can use to implement infinite scrolling in AngularJS applications.

http://binarymuse.github.io/ngInfiniteScroll/

102 questions
0
votes
0 answers

How can I change infinite scroll module to scroll from the bottom to the top of the screen?

Here is the logic of infinite scroll from the top to the bottom of the screen : height = function (elem) { elem = elem[0] || elem; if (isNaN(elem.offsetHeight)) { return elem.document.documentElement.clientHeight; } else { …
user10863293
  • 770
  • 4
  • 11
  • 32
0
votes
1 answer

Rick and Morty API (Angular)

I am trying to iterate some objects that this url give me: (https://rickandmortyapi.com/api/character) in a gallery of cards using *ngFor1 this is the only way I've found to render my call and once I scroll down it changes the url of my call2 The…
0
votes
0 answers

ionic infinite scroll can't show information

I tried to use ionic infinite to load more item, doRefresh(event) { console.log('Begin async operation'); setTimeout(() => { this.nextpage() console.log("test") event.target.complete(); }, 2000); } nextpage(){ …
chungchung
  • 27
  • 3
0
votes
1 answer

How can I get step by step data from api in redux/react by infinite scroll

I want to get 20 posts by scroll down each time how can i do? my project have big Data and I use redux for get data, can I get data step by step? for example get 20 posts for first time and when a user scroll down load the next 20 posts. I use React…
MaK
  • 121
  • 1
  • 8
0
votes
0 answers

ngInfiniteScroll for textarea

I am trying to bind a large string using ng-model in a textArea, but the rendering time is quite slow. So I decided to use ngInfiniteScroll to render a portion of my string, but turns out ngInfiniteScroll only works with "div" and not "td" and…
Manoj Majumdar
  • 505
  • 1
  • 4
  • 23
0
votes
1 answer

How to set the throttle parameter in ngInfiniteScroll (AngularJS)

In my Angular application I am using the ng-infinite-scroll to allow a user to continously scroll through their 'news feed' using the plugin here - https://sroze.github.io/ngInfiniteScroll/documentation.html On my desktop it runs fine, however when…
Zabs
  • 13,852
  • 45
  • 173
  • 297
0
votes
1 answer

nginfinityscroll not working

im using nginfinityscroll and it didnt trigger the scroll event... my code:
0
votes
0 answers

ngInfiniteScroll stops working after ng-click on repeated element

I'm using ngInfiniteScroll in a few different places to show contacts, and missed calls. It loops over every item and adds a ng-click to show user profile. The scrolling works fine in all locations until you actually click on a user/call. Afterwards…
Thomas Horner
  • 283
  • 1
  • 2
  • 11
0
votes
0 answers

how to use ngInfiniteScrol?

i am using ngInfiniteScrol in angular js my js function is $scope.busy = false; $scope.nextPage = function() { if ($scope.busy) return; var checkLast = $("#endlistings").val(); var off_set = $("#offSet").val(); …
Hassan Shafique
  • 147
  • 2
  • 14
0
votes
2 answers

AngularJS: function from service don't work in ng-infinite-scoll directive

I want to use ng-infinite-scroll (https://sroze.github.io/ngInfiniteScroll/). But when I want to call function from my service (injected to controller) nothing happened (this function doesn't trigger). When I call function not from the service but…
0
votes
1 answer

How I can add images from local folder to make infinite scrolling in angularjs

I tried many times but still fail to add images. I want to make image gallery and add images for infinite scrolling using angularjs. How can I add images from local folder not from any database is it possible?
Zeeshan
  • 33
  • 8
0
votes
1 answer

ng infinite scroll with angular js not working in responsive view and mobile devices

I'm using ng-infinite-scroll.js, the scroll feature is working fine in PC. When comes to the mobile/responsive view it is not loading any items while scrolling down.
0
votes
0 answers

Implementing Infinite Scroll in Ionic 2

I am trying to implement the Infinite Scroll functionality in Ionic 2 but the function (which should get called up on onInfinite) is not getting called. Here I am not able to get even the statement console.log('Begin async operation'); called, which…
0
votes
1 answer

How to stop ng-infinite-scroll after loading complete data?

Here I am facing some problems while using ng-infinite-scroll. When I am ng-infinite-scroll-distance, it actually doesn't work. Moreover all data has been loaded but ng-infinite-scroll can't be disabled?
0
votes
1 answer

infinite-scroll method not triggering

I'm using ngInfiniteScroll in my project to load large data into the UI. Here is my HTML,
{{app.name}}
In my controller, $scope.nextPage = function(){ …
Venkat
  • 265
  • 2
  • 17