Interface ScrollToConfig

interface ScrollToConfig {
    duration?: number;
    offset?: CoordinateOffset;
    scrollable?: Element;
}

Properties

duration?: number

The duration in milliseconds of the scroll animation.

ScrollWatcher default

undefined // none
scrollable?: Element

The element that should be scrolled.

ScrollWatcher default