- Draggable refers to the ability to drag and move targets.
- Resizable indicates whether the target’s width and height can be increased or decreased.
- Scalable indicates whether the target’s x and y can be scale of transform.
- Rotatable indicates whether the target can be rotated.
- Warpable indicates whether the target can be warped(distorted, bented).
- Pinchable indicates whether the target can be pinched with draggable, resizable, scalable, rotatable.
- Groupable indicates Whether the targets can be moved in group with draggable, resizable, scalable, rotatable.
- Snappable indicates whether to snap to the guideline.
Today we’d like to share a little set of playful dragging effects with you. The idea is to animate images as they are being dragged, and distort, scale or apply filters to them. For some examples we tie the intensity of the effect to the speed of the dragging motion.
Draggable is a modular drag & drop library, allowing you to start small and build up with the features you need. At its most basic, Draggable gives you drag & drop functionality, fast DOM reordering, accessible markup, and a bundle of events to grab on to.
- Works with native drag, mouse, touch and force touch events
- Can extend dragging behaviour by hooking into draggables event life cycle
- Can extend drag detection by adding sensors to draggable
- The library is targeted ES6 first
Well in this tutorial we will see how to implement a creative component to upload files, using as inspiration the previous animation by Jakub Antalík. The Idea is to bring better visual feedback around what happens with the file after is dropped.
We will be focusing only on implementing the
drop interactions and some animations, without actually implementing all the necessary logic to actually upload the files to the server and use the component in production.
Scrollbooster is a enjoyable content drag-to-scroll micro (~2KB gzipped) library.
HqyInteract is a touch enabled jQuery plugin that lets you create powerful interactions.
PlainDraggable is a simple and high performance library to allow HTML/SVG element to be dragged.
- Accept HTML/SVG element as an element that comes to be draggable.
- Restrict the draggable area.
- Snap the draggable element to other elements, points, lines, consecutive points (i.e. grid) or something.
will-change CSS if possible, for high performance.