I posted this question on stackoverflow yesterday and haven't gotten a response yet so I thought I would post a link to it here as well.
Basically, I am trying to use Polymer's paper-scroll-header-panel as the base for my app and need to have a second submenu (paper-toolbar) that starts a ways down the page "stick" underneath the main header and first toolbar once it gets there. Additionally, figuring out how can I access the paper-scroll-header-panel scroll functionality via javascript. I want to mimic this effect <https://css-tricks.com/scroll-fix-content/> but using $('#id').scroll(function(e){//stuff})); doesn't seem to work and it appears to be because that is targeting the main window scroll and this polymer element creates its own scroll area within the window. Looking at the element's code on github <https://github.com/PolymerElements/paper-scroll-header-panel/blob/master/paper-scroll-header-panel.html> I can see it has a scroller() function and an sTop variable that is equal to this.scroller.scrollTop which I think I will need but I am not really sure how to access these in Polymer. http://stackoverflow.com/questions/31688689/paper-scroll-header-panel-with-toolbars-that-remain-once-they-reach-the-top 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/e13c4b16-59a4-4cff-81b9-f7add0a2647c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
