Two examples of basic pinning.
- A pin of a scene that has a duration will be pinned for the repective ammount of scrolled pixels and then released again.
- If no duration is defined, the pinned element will never be released unless scrolling back past the trigger position.
Note that the first pin pushes down the following elements. A gap with the size of the scene's duration appears.
This can be disabled using the option
pushFollowers: false. For scenes with a duration of 0 "
pushFollowers" is always disabled.
Stay where you are (at least for a while).view source
Take me with you!view source