A library designed to facilitate user interactions with UI elements in 2D space.
Live Demo
In this demo you can enable certain interaction behavior by clicking a corresponding button. You will also see “In progress” message while performing action.
Functionality
- Pan – move the whole canvas horizontally and vertically
- Select
- Select on click
- Select multiple with Ctrl key pressed
- Rectangular selection – group selection by drawing a rectangle
- Lasso selection – group selection by drawing a free form
- Drag – drag selected items relative to the canvas with pointer
- Zoom – resize canvas and items in it proportionally
- Every interaction can be turned on / off individually