BetaPublic beta — Read the release notes
Documentation

Message Scroller

Auto-scrolling message container with new-content indicators.

Package
@solidiom/message-scroller
Version
0.6.0
Status
experimental

Generated from the package's public source.

API

MessageScrollerNewContentIndicatorPropsinterface

Props

class?
string
style?
string | CSSProperties

children: Element

View source

MessageScrollerRootPropsinterface

Props

bottomThreshold?
number — Pixel threshold from bottom to consider "at bottom". Default: 50.
class?
string
onNewContent?
() => void — Called when new content appears while scrolled up.
scrollBehavior?
ScrollBehavior — Scroll behavior for auto-scroll. Default: 'smooth'.
style?
string | CSSProperties

children: Element

View source

MessageScrollerScrollAreaPropsinterface

Props

class?
string
style?
string | CSSProperties

children: Element

View source

NewContentIndicatorcomponent

                        NewContentIndicator(props: MessageScrollerNewContentIndicatorProps): Element
                      

Props

class?
string
style?
string | CSSProperties

children: Element

View source

Rootcomponent

                        Root(props: MessageScrollerRootProps): Element
                      

Props

bottomThreshold?
number — Pixel threshold from bottom to consider "at bottom". Default: 50.
class?
string
onNewContent?
() => void — Called when new content appears while scrolled up.
scrollBehavior?
ScrollBehavior — Scroll behavior for auto-scroll. Default: 'smooth'.
style?
string | CSSProperties

children: Element

View source

ScrollAreacomponent

                        ScrollArea(props: MessageScrollerScrollAreaProps): Element
                      

Props

class?
string
style?
string | CSSProperties

children: Element

View source