Navigation v1.0.0

Nach oben

Eine schwebende Schaltfläche, die erscheint, wenn der Benutzer über einen konfigurierbaren Schwellenwert hinaus scrollt, und es ermöglicht, sanft zum Seitenanfang zurückzuscrollen. Unterstützt anpassbare Position, Scroll-Schwellenwert und weiches/sofortiges Scrollverhalten.

Vorschau & Code

Optionen

Name Typ Standard Beschreibung
threshold Number 300 Scroll distance in pixels before the button appears
smooth Boolean true Use smooth scrolling animation when returning to top
position Symbol :bottom_right Screen position: :bottom_right, :bottom_left
label String "Back to top" Screen reader accessible label for the button

Änderungsprotokoll v1.0.0

- v1.0.0: Initial release with threshold, smooth scroll, position, and label options

Vollzugang erhalten

Schalte den Quellcode für diese und alle anderen Komponenten frei. Einmalige Zahlung für lebenslangen Zugang.

Jetzt Zugang erhalten