Provides a convenient scrollable container / DIV that always allows keyboard scroll navigation by stopping propagation of page up / down key events when the active element is or is contained by the container.

Auto serialization of scroll state is handled by providing a store / scrollTop.

A main slot is provided for a content component, but a fallback allows a child content component to be defined by the class and props fields in TJSScrollContainerData.

Hierarchy

Constructors

Methods

Constructors

Methods

  • Type Parameters

    • K extends string

    Parameters

    Returns (() => void)

      • (): void
      • Returns void