|
13 | 13 | </h6> |
14 | 14 |
|
15 | 15 | <p align="center"> |
16 | | - <a href="https://choosealicense.com/licenses/mit/"><img |
17 | | - alt="License MIT" |
18 | | - src="https://img.shields.io/badge/license-MIT-ae15cc.svg"></a> |
19 | | - <img alt="No dependencies" |
20 | | - src="https://img.shields.io/badge/dependencies-none-8115cc.svg"> |
21 | | - <a href="https://github.com/sponsors/Simonwep"><img |
22 | | - alt="Support me" |
23 | | - src="https://img.shields.io/badge/github-support-6a15cc.svg"></a> |
24 | | - <img alt="version" src="https://img.shields.io/github/lerna-json/v/simonwep/viselect?color=%233d24c9&label=version"> |
25 | | - <a href="https://www.buymeacoffee.com/aVc3krbXQ"><img |
26 | | - alt="Buy me a coffee" |
27 | | - src="https://img.shields.io/badge/%F0%9F%8D%BA-buy%20me%20a%20beer-%23FFDD00"></a> |
28 | | - <a href="https://github.com/simonwep/viselect/actions/workflows/test.yml"><img |
29 | | - alt="Build Status" |
30 | | - src="https://github.com/simonwep/viselect/actions/workflows/test.yml/badge.svg"></a> |
31 | | - <a href="https://github.com/simonwep/viselect/actions/workflows/deploy.yml"><img |
32 | | - alt="Docs" |
33 | | - src="https://github.com/simonwep/viselect/actions/workflows/docs.yml/badge.svg"></a> |
| 16 | + <img alt="No dependencies" src="https://img.shields.io/badge/dependencies-none-46a50f.svg"> |
| 17 | + <a href="https://github.com/sponsors/simonwep"><img alt="Support me" src="https://img.shields.io/badge/github-support-46a50f.svg"></a> |
| 18 | + <img alt="downloads" src="https://raw.githubusercontent.com/simondump/static/refs/heads/master/apps/npm-viselect-downloads/dist/viselect.svg"> |
| 19 | + <a href="https://github.com/simonwep/viselect/actions/workflows/test.yml"><img alt="Build Status" src="https://github.com/simonwep/viselect/actions/workflows/test.yml/badge.svg"></a> |
34 | 20 | <img alt="gzip size" src="https://img.badgesize.io/https://cdn.jsdelivr.net/npm/@viselect/vanilla/dist/viselect.umd.js?compression=gzip"> |
35 | 21 | <img alt="brotli size" src="https://img.badgesize.io/https://cdn.jsdelivr.net/npm/@viselect/vanilla/dist/viselect.umd.js?compression=brotli"> |
36 | | - <a href="https://v3.vuejs.org"><img |
37 | | - alt="Vue support" |
38 | | - src="https://img.shields.io/badge/✔-vue-%2340B581"></a> |
39 | | - <a href="https://preactjs.com/"><img |
40 | | - alt="Preact support" |
41 | | - src="https://img.shields.io/badge/✔-preact-%236337B1"></a> |
42 | | - <a href="https://reactjs.org"><img |
43 | | - alt="React support" |
44 | | - src="https://img.shields.io/badge/✔-react-%2359D7FF"></a> |
45 | 22 | </p> |
46 | 23 |
|
47 | 24 | <p align="center"> |
|
50 | 27 |
|
51 | 28 | ### Features 🤘 |
52 | 29 |
|
53 | | -* 🌟 Modern bundle |
54 | | -* 🔩 Ultra tiny (~4kb) |
55 | | -* 👌 Simple usage |
56 | | -* ⚡ Highly optimized |
57 | | -* ✔ Zero dependencies |
58 | | -* 📱 Mobile / touch support |
59 | | -* 🖱 Vertical and horizontal scroll support |
60 | | -* 💪 Battle tested (over 6 years old and used in many apps) |
| 30 | +* 🧩 **Framework-ready** - a dependency-free core plus first-party React, Preact, and Vue 3 packages. |
| 31 | +* 🖱️ **Natural interactions** - drag, click/tap, and `Shift` range selection. |
| 32 | +* 🎯 **Configurable behavior** - selection triggers, thresholds, intersections, and overlap handling. |
| 33 | +* 📱 **Touch and scroll aware** - works with touch input and two-axis scrollable containers. |
| 34 | +* 🔄 **Lifecycle events** - observe or cancel interactions at every selection stage. |
| 35 | +* 🛠️ **Programmatic API** - manage selections, refresh selectable elements, or enable/disable selection. |
| 36 | +* ...and much more! |
61 | 37 |
|
62 | 38 | ### Getting started |
63 | 39 |
|
|
0 commit comments