RayCraftDocs
v1.0.3 raycraft.dev
On this page

ScrollToTop

Free

Floating button that appears after scrolling down and returns to the top of the page. It needs no round trip to the server.

Example

ScrollToTop control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
StylestringInline style added to the root element.
ThresholdintScroll distance in pixels after which the button appears (default 300).

Package

ScrollToTop is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.