I need to direct the browser to scroll to the top of the page. I think iron-scroll-target-behavior
might be a good choice. But I can't find any working demos.
Can anyone locate or point me to a working demo of the iron-scroll-target-behavior element?
Instead of
examplescroll-target-behavior
, I'm just using the platform and going with:scrollIntoView()
. DocumentationOr, to scroll to the top of the page: