22
33# ` @svelte-put/dragscroll `
44
5- [ ![ npm.badge]] [ npm ] [ ![ bundlephobia.badge]] [ bundlephobia ] [ ![ repl .badge]] [ repl ]
5+ [ ![ npm.badge]] [ npm ] [ ![ bundlephobia.badge]] [ bundlephobia ] [ ![ docs .badge]] [ docs ]
66
77Svelte action ` use:dragscroll ` for pointer drag-to-scroll behavior
88
99</div >
1010
11- ## Table of Contents
12-
13- <details open >
14- <summary >Show / hide</summary >
15-
16- - [ ` @svelte-put/dragscroll ` ] ( #svelte-putdragscroll )
17- - [ Table of Contents] ( #table-of-contents )
18- - [ ` svelte-put ` ] ( #svelte-put )
19- - [ Changelog] ( #changelog )
20- - [ Installation] ( #installation )
21- - [ Documentation] ( #documentation )
22-
23- </details >
24-
2511## ` svelte-put `
2612
2713This package is part of the [ @svelte-put ] [ github.monorepo ] family. For contributing guideline and more, refer to its [ readme] [ github.monorepo ] .
2814
29- ## [ Changelog ] [ github.changelog ]
15+ ## Usage & Documentation
3016
31- ## Installation
17+ [ See the dedicated documentation page here ] [ docs ] .
3218
33- ``` bash
34- npm install -D @svelte-put/dragscroll
35- ```
19+ ## Quick Start
3620
37- ``` bash
38- yarn add -D @svelte-put/dragscroll
39- ```
21+ ``` html
22+ <script >
23+ import { dragscroll } from ' @svelte-put/dragscroll' ;
24+ </script >
4025
41- ``` bash
42- pnpm add -D @svelte-put/dragscroll
26+ <div use:dragscroll >...</div >
4327```
4428
45- </details >
46-
47- ## Documentation
48-
49- For detailed documentation, see the [ extracted API] [ github.api ] .
29+ ## [ Changelog] [ github.changelog ]
5030
5131<p align =" center " >
5232 <a href =" https://www.buymeacoffee.com/vnphanquang " target =" _blank " >
@@ -64,13 +44,12 @@ For detailed documentation, see the [extracted API][github.api].
6444[ github.monorepo ] : https://github.com/vnphanquang/svelte-put
6545[ github.changelog ] : https://github.com/vnphanquang/svelte-put/blob/main/packages/actions/dragscroll/CHANGELOG.md
6646[ github.issues ] : https://github.com/vnphanquang/svelte-put/issues?q=
67- [ github.api ] : https://github.com/vnphanquang/svelte-put/blob/main/packages/actions/dragscroll/api/docs/index.md
6847
6948<!-- heading badge -->
7049
7150[ npm.badge ] : https://img.shields.io/npm/v/@svelte-put/dragscroll
7251[ npm ] : https://www.npmjs.com/package/@svelte-put/dragscroll
7352[ bundlephobia.badge ] : https://img.shields.io/bundlephobia/minzip/@svelte-put/dragscroll?label=minzipped
7453[ bundlephobia ] : https://bundlephobia.com/package/@svelte-put/dragscroll
75- [ repl ] : https://svelte.dev/repl/835eacce6ac44aff95a7cb0bb5ca200d
76- [ repl .badge] : https://img.shields.io/static/v1?label=&message=Svelte+REPL&logo=svelte&logoColor=fff&color=ff3e00
54+ [ docs ] : https://svelte-put.vnphanquang.com/docs/dragscroll
55+ [ docs .badge] : https://img.shields.io/badge/-Docs%20Site-blue
0 commit comments