README
Scroll To Top
Gitbook Plugin
Scroll to top when page loaded.
Installation
Open the book.json
and insert scroll-to-top value into the plugins
variable.
{
"plugins": [ "scroll-to-top" ]
}
Gitbook Plugin - Scroll to top when page loaded
<script type="module">
import gitbookPluginScrollToTop from 'https://cdn.skypack.dev/gitbook-plugin-scroll-to-top';
</script>
Scroll to top when page loaded.
Open the book.json
and insert scroll-to-top value into the plugins
variable.
{
"plugins": [ "scroll-to-top" ]
}