Function horizontalScroll
- horizontalScroll<Node>(...args): void | ActionReturn<undefined | {
duration?: number;
}, Record<never, any>> Parameters
Rest
...args: [node: Node, parameter?: {
duration?: number;
}]
Returns void | ActionReturn<undefined | {
duration?: number;
}, Record<never, any>>
svelte action
Adds horizontal scrolling to an element.
This action removes the needs to press ctrl or right to scroll horizontally.