Usage
Options
Returns
Behavior
- Viewport Constraints: Position is constrained to keep the minimum visible pixels within the viewport
- Resize Handling: Automatically adjusts position when window is resized
- Text Selection: Prevents text selection while dragging
- Mouse Events: Attaches global mouse events during drag for smooth tracking