new Drag(options)
Class
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | Constructor options |
Type Definitions
-
Options
-
Constructor option for module:nyc/Drag~Drag
Type:
- Object
- Source:
Properties:
Name Type Argument Default Description targetjQuery | Element | string The DOM node that will become draggable
handlejQuery | Element | string The child node of the target that will used as the dragging handle
tailboolean <optional>
false Attach a callout tail that will always point at its starting location
tailOffsetArray.<Number> <optional>
[0, 0] Offset the tail