Skip to content
API reference

components/scroll-to-bottom-blob

Import
import * as api from "@fungi.computer/caps/components/scroll-to-bottom-blob";
Kind Export Description
type alias ScrollToBottomBlobProps Props accepted by the persistent jump-to-bottom water drop.
constant ScrollToBottomBlob A continuously tugged water drop, with its own visibility and focus lifecycle.

ScrollToBottomBlobPropstype alias

Section titled “ScrollToBottomBlobProps”
Signature
type ScrollToBottomBlobProps = object;

Props accepted by the persistent jump-to-bottom water drop.

Signature
optional direction?: ScrollDirection;

Forward is ordinary DOM order; reverse supports column-reverse scrollers.

Signature
scrollerRef: RefObject<HTMLDivElement | null>;
Signature
onJump: () => void;

Ask the host to scroll to its latest content.

void

Signature
optional unread?: number;

Appended messages since the reader left the end.

Signature
optional focusAfterJump?: RefObject<HTMLElement | null>;

Focus destination after keyboard activation; defaults to the scroller.

ScrollToBottomBlobconstant

Section titled “ScrollToBottomBlob”
Signature
const ScrollToBottomBlob: NamedExoticComponent<ScrollToBottomBlobProps>;

A continuously tugged water drop, with its own visibility and focus lifecycle.