|
55 | 55 |
|
56 | 56 | Pointeract is a tiny JavaScript/TypeScript utility library focusing on one thing - handling user interactions with DOM elements, e.g. multitouch and touchpad. |
57 | 57 |
|
58 | | -With the unique strength of versatile typings in TypeScript and its dynamic nature, Pointeract has achieved a highly _modular, extendable and efficient_ architecture. Its core bundle size is only **1KB** minified + gzipped, functionalities come from also byte-sized modules. It's fully **tree-shakable**, the fewer modules you use, the smaller your bundle is. |
| 58 | +Powered by [SynthKernel architecture](https://hesprs.github.io/researches/synthkernel), Pointeract has achieved a highly _modular, extensible and efficient_ architecture. Its core bundle size is only **1KB** minified + gzipped, functionalities come from also byte-sized modules. It's fully **tree-shakable**, the fewer modules you use, the smaller your bundle is. |
59 | 59 |
|
60 | 60 | ## Advantages |
61 | 61 |
|
@@ -122,25 +122,26 @@ Missing your desired interaction? [Write your own module](https://pointeract.con |
122 | 122 |
|
123 | 123 | ## How Pointeract Stands Out? |
124 | 124 |
|
125 | | -There're already plenty of interaction libraries out there, most famous ones are `Interact.js` and `Hammer.js`, but Pointeract is different. |
| 125 | +There're already plenty of interaction libraries out there, most famous ones are `d3-drag` + `d3-zoom`, `Interact.js` and `Hammer.js`, but Pointeract is different. |
126 | 126 |
|
127 | | -| Criteria | Pointeract | [Hammer.js](https://hammerjs.github.io) | [Interact.js](https://interactjs.io) | |
128 | | -| :--------------------------------------------------------------------------------------- | :---------------------------------------------------: | :---------------------------------------------: | :--------------------------------------------------: | |
129 | | -| Written in TypeScript? | β
| β | β
| |
130 | | -| Tree-shakeable? | β
| β | β | |
131 | | -| Total Bundle Size (Minified + Gzipped) | π [3KB](https://bundlejs.com/?q=pointeract%40latest) | [7KB](https://bundlejs.com/?q=hammerjs%402.0.8) | [28KB](https://bundlejs.com/?q=interactjs%401.10.27) | |
132 | | -| Last Updated | π Actively Maintained | 2015 | 2023 | |
133 | | -| Features | Pointer and Wheel Related + Some Utils | Pointer Related | π Pointer and Wheel Related + Comprehensive Utils | |
134 | | -| Robust? (See [Testing](https://pointeract.consensia.cc/development/testing#monkey-test)) | β
| β Element Jerks | β Element Ignores the Second Touch | |
135 | | -| Extensible? | β
| β | β | |
| 127 | +| Criteria | Pointeract | [D3 Drag](https://github.com/d3/d3-drag) + [D3 Zoom](https://github.com/d3/d3-zoom) | [Hammer.js](https://hammerjs.github.io) | [Interact.js](https://interactjs.io) | |
| 128 | +| :--------------------------------------------------------------------------------------------- | :---------------------------------------------------: | :---------------------------------------------------------------------------------: | :---------------------------------------------: | :--------------------------------------------------: | |
| 129 | +| Written in TypeScript? | β
| β | β | β
| |
| 130 | +| Tree-shakeable? | β
| β | β | β | |
| 131 | +| Total Bundle Size (Minified + Gzipped) | π [3KB](https://bundlejs.com/?q=pointeract%40latest) | [17KB](https://bundlejs.com/?q=d3-drag%403.0.0%2Cd3-zoom%403.0.0) | [7KB](https://bundlejs.com/?q=hammerjs%402.0.8) | [28KB](https://bundlejs.com/?q=interactjs%401.10.27) | |
| 132 | +| Last Updated | π Actively Maintained | 2021 | 2015 | 2023 | |
| 133 | +| Versatility | Pointer and Wheel Related + Some Utils | π Pointer and Wheel Related + Ecosystem | Pointer Related | Pointer Related + Comprehensive Utils | |
| 134 | +| Support | π Mouse, Mouse Wheel, Touch, and Touchpad | β οΈ No Touchpad Support | β οΈ No Touchpad or Mouse Wheel Support | β οΈ No Touchpad or Mouse Wheel Support | |
| 135 | +| Robust (Passes [Monkey Test](https://pointeract.consensia.cc/development/testing#monkey-test)) | β
| β
| β Element Jerks | β Element Ignores the Second Touch | |
| 136 | +| Extensible? | β
| β | β | β | |
136 | 137 |
|
137 | 138 | ## Get Involved |
138 | 139 |
|
139 | 140 | This project welcomes anyone that has ideas to improve it. |
140 | 141 |
|
141 | 142 | - [Open a pull request](https://github.com/hesprs/pointeract/compare) for a new module, event standard, documentation update, and so on. |
142 | | -- [Open an issue](https://github.com/hesprs/pointeract/issues/new) if you find a bug. |
143 | | -- [Start a new thread in Discussions](https://github.com/hesprs/pointeract/discussions/new) if you have feature requests or questions, please avoid posting them in Issues. |
| 143 | +- [Open an issue](https://github.com/hesprs/pointeract/issues/new) if you find a bug or have a feature request. |
| 144 | +- [Start a new thread in Discussions](https://github.com/hesprs/pointeract/discussions/new) if you have feature requests or questions want to discuss. |
144 | 145 | - [Report a vulnerability](https://github.com/hesprs/pointeract/security/advisories/new) if you find one, please do not disclose it publicly. |
145 | 146 |
|
146 | 147 | ## Copyright and License |
|
0 commit comments