Scroll event

203 views
Skip to first unread message

hbti....@gmail.com

unread,
Sep 29, 2014, 1:22:41 AM9/29/14
to polym...@googlegroups.com, Gagan Deep Singh
I am using jQuery along with Polymer. I am using core-scaffold for creating mail ui. In-side this i am using a list of items.
These items are coming from ajax response. At a time it can get 10 items. next 10 times will come for next ajax request.
I want to make next ajax call once it reaches at the end of list. I want listen scroll event one it reaches at the end i will make next request. Please suggest .

Frankie Fu

unread,
Sep 29, 2014, 3:16:09 PM9/29/14
to hbti....@gmail.com, polymer-dev, Gagan Deep Singh
In core-scaffold we need to make the scroll events in the main content accessible.  I filed an issue here: https://github.com/Polymer/core-scaffold/issues/13

In the meantime, you can try to access the internal core-header-panel[main] and listen for scroll events.  Here is a jsbin:

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/b09a274c-186d-4126-bc7a-d5ae1ddcc072%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages