noose

Simple lasso (noose) tool in vanilla JavaScript. Inspired by jQuery UI's selectable. Supports modern browsers and mobile.

Usage no npm install needed!

<script type="module">
  import noose from 'https://cdn.skypack.dev/noose';
</script>

README

Noose

Simple lasso (noose) tool in vanilla JavaScript. Inspired by jQuery UI's selectable. Supports modern browsers and mobile.

npm NPM GitHub file size in bytes David npm

Noose demo

Noose is kept simple for performance. Its only purpose is to calculate the region to render and then determine the elements to mark as selected. No CSS is provided, styling is left to the user. Checkout the documentation for details and code examples.

Documentation

Go to https://tokafew420.github.io/noose/ for usage, api, and examples.

Alternatives