Props type alias for associated component.

type Props = {
    allowTabFocus?: boolean;
    attach?: Action;
    container?: TJSScrollContainerData;
    gutterStable?: boolean;
    keyPropagate?: boolean;
    onContextMenu?: (data: { event: KeyboardEvent | PointerEvent }) => void;
    padToVisualEdge?: VisualEdgeSides;
    scrollLeft?: MinimalWritable<number>;
    scrollTop?: MinimalWritable<number>;
    styles?: { [key: string]: string };
}
Index
allowTabFocus?: boolean

false

attach?: Action

External dynamic action to attach to scroll container element.

gutterStable?: boolean

false

keyPropagate?: boolean

false

onContextMenu?: (data: { event: KeyboardEvent | PointerEvent }) => void
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.

false

scrollLeft?: MinimalWritable<number>
scrollTop?: MinimalWritable<number>
styles?: { [key: string]: string }