Hex Core JS
    Preparing search index...

    Function useScrollSync

    • Synchronizes scrolling among multiple elements. Elements should have the same dimensions (at least in the enabled directions, e.g. height does not matter if vertical synchronization is disabled).

      Parameters

      • elements: HTMLElement[]

        The elements among which to synchronize scrolling.

      • options: UseScrollSyncOptions = {}

        Options for sync behavior, can disable vertical or horizontal scrolling.

      Returns void