TJSScrollContainerData: {
    allowTabFocus?: boolean;
    keyPropagate?: boolean;
    onContextMenu?: (data: { event: KeyboardEvent | PointerEvent }) => void;
    scrollLeft?: MinimalWritable<number>;
    scrollTop?: MinimalWritable<number>;
    styles?: { [key: string]: string };
    svelte?: Embed;
}

Type declaration

  • OptionalallowTabFocus?: boolean

    When true, the scroll container is keyboard navigation focusable.

  • OptionalkeyPropagate?: 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.

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

    Callback to handle context menu presses.

  • OptionalscrollLeft?: MinimalWritable<number>

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

  • OptionalscrollTop?: MinimalWritable<number>

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

  • Optionalstyles?: { [key: string]: string }

    Inline styles to assign to the container.

  • Optionalsvelte?: Embed

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