DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
react scroll to top
const scrollTop = () =>{ window.scrollTo({top: 0, behavior: 'smooth'});};
Source by betterprogramming.pub #
PREVIOUS
NEXT
Tagged:
#react
#scroll
#top
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit