type TJSScrollContainerData = {
    allowTabFocus?: boolean;
    attach?: Action<HTMLElement, undefined, any>;
    gutterStable?: boolean;
    keyPropagate?: boolean;
    onContextMenu?: (data: { event: KeyboardEvent | PointerEvent }) => void;
    padToVisualEdge?: VisualEdgeSides;
    scrollLeft?: MinimalWritable<number>;
    scrollTop?: MinimalWritable<number>;
    styles?: { [key: string]: string };
    svelte?: Embed<SvelteComponent<any, any, any>, { PropsOmit: never }>;
}
Index
allowTabFocus?: boolean

When true, the scroll container is keyboard navigation focusable.

attach?: Action<HTMLElement, undefined, any>

Optional Svelte action to attach to scroll container element.

gutterStable?: boolean

When true, the scrollbar gutter is set to stable. This is a convenience for automatic configuration without a wrapping element to set a CSS variable.

keyPropagate?: boolean

By default, the scroll container stops propagation of all keys that are related to keyboard scrolling accessibility. When true, the scroll container will not capture scrolling key events.

onContextMenu?: (data: { event: KeyboardEvent | PointerEvent }) => void

Callback to handle context menu presses.

padToVisualEdge?: VisualEdgeSides

When true, the inline styles for padding of the parent element to the scroll container element is adjusted for any visual edge insets / border image applied to the parent element allowing the scroll container to take up the entire visual content space. You may also specify specific sides for application of visual edge padding inset constraints.

scrollLeft?: MinimalWritable<number>

A Svelte store that serializes the scroll left position of the scrollable container.

scrollTop?: MinimalWritable<number>

A Svelte store that serializes the scroll top position of the scrollable container.

styles?: { [key: string]: string }

Inline styles to assign to the container.

svelte?: Embed<SvelteComponent<any, any, any>, { PropsOmit: never }>

A svelte component configuration object used as the content component when there is no slotted component defined.