Window Edge Snapping for Extjs (Ext.ux.WindowSnap.DD)
Open a few windows and drag and drop a window so that window's edge is close to another window's edge.
There are two modes. DragSnap, and DropSnap. DragSnap will snap the window while it is being dragged. DropSnap will animate the dropped window to another window's edge.
Author:
David W Davis
Version: 1.6
License: Same as Extjs 2.0
Get the
Source.
Changelog
- v1.6: Released to http://extjs-ux.org/ as Ext.ux.WindowSnap.DD
- v1.5: Improved nearest edge detection
- v1.4: Fixed bug where a window would snap to the incorrect area
- v1.3: Increased response time of DropSnap on drag start
- v1.2: Rewrote the edge detection algorythm
- v1.1: Added the viewport edges