react-scrollmagic icon indicating copy to clipboard operation
react-scrollmagic copied to clipboard

How can I use the Scene Control Methods for scene manipulation

Open hansdoug opened this issue 5 years ago • 0 comments

Hello, I would need to change or set the duration of a Scene after the DOM has loaded, because I will use the height of a div, which has variable content. I tried putting a ref on the scene, but I won't be able to manipulate the props directly.

The scroll magic api has something like scene.setClassToggle(), how would I use that with the Scene Component?

best wishes and thanks, Hans

hansdoug avatar Nov 06 '19 08:11 hansdoug