✨ Viselect - A high performance and lightweight library to add a visual way of selecting elements, just like on your Desktop. Zero dependencies, super small. Support for major frameworks!
id
to the contain in react/preact (#176, thanks to @Olivia-li!)getComposePath
is now stable enough to use it directly instead of using a polyfill!clearSelection
now behaves the same way as deselect
and triggers both the move
and stop
events - less things to handle yourself when clearing a selection 🥳trigger
function and do no longer return a boolean in deselect
.This release brings many long awaited bug-fixes and improvements :)
stop
and start
-event are now emitted as well, making it easier to control it via JS.createRoot
.This is a small release with an update for vue and a long awaited bug-fix. I plan to investigate currently reported issues / implement requested features this summer.
stop
-event. (#157)<script setup>
is now used for the vue component which gives us full type-script support for the SelectionArea
-component.