PropertyAttributeDescriptionTypeDefaultalignScrollIndicator align-scroll-indicatorSets the vertical position of scroll indicator.type ScrollerAlignScrollIndicator = 'top' 'center''center'aria ariaAdd ARIA role.type ScrollerAriaAttribute = { 'role'?: string; }undefinedgradientColor gradient-colorAdapts the background gradient color of prev and next button.type ScrollerGradientColor = 'background-base' 'background-surface''background-base'gradientColorScheme 🚫gradient-color-schemedeprecated since v3.0.0, will be removed with next major release, use gradientColor instead. Adapts the background gradient color of prev and next button.type ScrollerGradientColorScheme = undefined 'default' 'surface'undefinedscrollbar scrollbarSpecifies if scrollbar should be shown.booleanfalsescrollIndicatorPosition 🚫scroll-indicator-positiondeprecated since v3.0.0, will be removed with next major release, use alignScrollIndicator instead. Sets the vertical position of scroll indicatortype ScrollerScrollIndicatorPosition = undefined 'top' 'center'undefinedscrollToPosition scroll-to-positionScrolls the scroll area to the left either smooth or immediately.type ScrollerScrollToPosition = { 'scrollPosition'?: number; 'isSmooth'?: boolean; }undefinedtheme themeAdapts the color when used on dark background.type Theme = 'light' 'dark' 'auto''light'
Slots
prev
next
SlotDescriptionisRequiredaltPropallowedTagNames<slot> Default slot for the scroller content.