N
N
ne_pes2018-04-02 15:46:15
css
ne_pes, 2018-04-02 15:46:15

How to cancel .setPin in ScrollMagic?

How to cancel .setPin in ScrollMagic?
You need to somehow undo the fixing of the block at the right time

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
stayacid, 2019-10-06
@stayacid

Perhaps the answer will be relevant to someone: through the .removePin () method. If you specify a true argument, for example scene.removePin(true), then not only the pin will be removed, but also the spacer that wraps the pinned element. Read more https://scrollmagic.io/docs/ScrollMagic.Scene.html...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question