BetaBeta pública — Consulta las notas de lanzamiento
Documentación

Message Scroller

Auto-scrolling message container with new-content indicators.

Paquete
@solidiom/message-scroller
Versión
0.6.0
Estado
experimental

Generado a partir del código fuente público del paquete.

API

MessageScrollerNewContentIndicatorPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

MessageScrollerRootPropsinterfaz

Propiedades

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

hijos: Element

Ver código fuente

MessageScrollerScrollAreaPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

NewContentIndicatorcomponente

                        NewContentIndicator(props: MessageScrollerNewContentIndicatorProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

Rootcomponente

                        Root(props: MessageScrollerRootProps): Element
                      

Propiedades

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

hijos: Element

Ver código fuente

ScrollAreacomponente

                        ScrollArea(props: MessageScrollerScrollAreaProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente