angular2-draggable
angular2-draggable copied to clipboard
Initial Position
Is there any way to set the initial position of the draggable element?
Please update to v1.3.0. We can use [position] to set the initial offset.
Which doesn't work at all. Setting position let's the coordinates explode on drag. Moving the mouse 1mm and whoops, x coord sitting at 8000+.
And found out why: sometimes the plugin doesn't interpret the values correctly. The plugin should parse the values so they won't be accidentally used as a string. It's pretty inconsistent right now.
@ventr1x the position input has an exported type definition: IPosition. Use it wisely and this inconsistent issue can be complained by the compiler.