Adds horizontal scrolling to an element.

This action removes the needs to press ctrl or right to scroll horizontally.

  • Type Parameters

    • Node extends HTMLElement

    Parameters

    • Rest...args: [node: Node, parameter?: {
          duration?: number;
      }]

    Returns void | ActionReturn<undefined | {
        duration?: number;
    }, Record<never, any>>

    svelte action