Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

possible core-waypoint? #1

Open
filaraujo opened this issue Jan 26, 2015 · 2 comments
Open

possible core-waypoint? #1

filaraujo opened this issue Jan 26, 2015 · 2 comments

Comments

@filaraujo
Copy link

I would love to see if theres any value in a component that handles scroll position based triggers.

http://filaraujo.github.io/akyral.io/waypoint/index.html

@ebidel
Copy link

ebidel commented Jan 26, 2015

Have you seem https://blog.polymer-project.org/#0-5-1_corescrollthreshold?

On Sun, Jan 25, 2015, 6:17 PM Filipe Araujo notifications@github.com
wrote:

I would love to see if theres any value in provide a component that
handlers scroll position based trigger handlers.

http://filaraujo.github.io/akyral.io/waypoint/index.html


Reply to this email directly or view it on GitHub
#1.

@filaraujo
Copy link
Author

There are similarities with the components. Unless I am understanding core-scroll-threshold incorrectly, it will trigger events based on the an offset top or bottom bound against a target. Whereas akyral-waypoint will trigger an event when a waypoint ( the hidden akyral-waypoint element ), crosses a predefined top position.

The main difference is that the waypoint can uses its own layout and geometry for triggering events.

Perhaps the same can be done with core-scroll-threshold, but had issues achieving same results which lead to the creation of akyral-waypoints.

Thanks for the quick response.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants