Skip to main content
Specify exactly one from* target and one to* target. Use the description form (from, to) for stable elements, or coordinates (fromCoords, toCoords) for free-form drags on a canvas. Both targets must be elements (descriptions or CSS selectors) or both must be coordinates. Mixing an element target with a coordinate target is not supported.

Parameters

Examples