You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, Caleb, for putting this library together, it's really great.
How can I programmatically scroll to a waypoint? I'm highlighting the text in the middle of the screen
$('.waypoint').each(function(index,element){constwaypoint=newWaypoint({element: element,offset: '50%',handler: (e)=>{let$el=$(this);lettext=$el.first();$('.expand').removeClass('expand');// get the text span (dialogue) elementlet$dialogElement=$el.find('.dialogue-text').addClass('expand');});});
I've been trying to use the jquery-scrollto plugin, but running into issues with webpack, so figured I'd ask here just in case there's an easy way to do it. You've obviously done a lot of work with the scrolling and positioning events.
Thanks.
The text was updated successfully, but these errors were encountered:
Thanks, Caleb, for putting this library together, it's really great.
How can I programmatically scroll to a waypoint? I'm highlighting the text in the middle of the screen
I've been trying to use the jquery-scrollto plugin, but running into issues with webpack, so figured I'd ask here just in case there's an easy way to do it. You've obviously done a lot of work with the scrolling and positioning events.
Thanks.
The text was updated successfully, but these errors were encountered: