iron-scroll-threshold for iron-list inside paper-scroll-header-panel

480 views
Skip to first unread message

pithon.ph...@gmail.com

unread,
Feb 10, 2016, 11:59:54 AM2/10/16
to Polymer
Hi,

I want use iron-scroll-threshold for iron-list inside a paper-scroll-header-panel

it's not working

scroll-target="id_paper_scroll_header_panel"

and I can not find an example

ideas ???

Philippe

Emmanuel Garcia

unread,
Feb 10, 2016, 6:31:08 PM2/10/16
to Polymer, pithon.ph...@gmail.com
Hey Philippe,

paper-scroll-header-panel doesn't expose the scroller property for id binding, but you can still set the scroll target programmatically. e.g.

<script>
  ironList.scrollTarget = paperScrollHeaderPanel.scroller;
  ironThreshold.scrollTarget = paperScrollHeaderPanel.scroller;
</script>

pithon.ph...@gmail.com

unread,
Feb 11, 2016, 3:03:05 AM2/11/16
to Polymer, pithon.ph...@gmail.com
Great Work!
thank you very much

 
Reply all
Reply to author
Forward
0 new messages