SortableService
The service that provides the drag-and-drop functionality for transferring items between Sortable components within the same page.
Name | Type | Default | Description |
---|---|---|---|
activeDraggable |
|
Specifies the Draggable item that is currently being moved. | |
lastDraggable |
|
Specifies the Draggable item that last emitted an event. | |
originDraggable |
|
Specifies the Draggable item from which the dragging started. | |
target |
|
Specifies the |
Constructors
SortableService
(ngZone: NgZone)
Parameters
ngZone
NgZone
Methods
getSortableComponentFromTouch | ||||||
---|---|---|---|---|---|---|
The method that finds the | ||||||
| ||||||
|
getSource | ||||
---|---|---|---|---|
Returns the source | ||||
|
registerComponent | ||||||
---|---|---|---|---|---|---|
Registers a | ||||||
| ||||||
|
setSource | ||||||
---|---|---|---|---|---|---|
Sets the | ||||||
|
unregisterComponent | ||||||
---|---|---|---|---|---|---|
Removes a | ||||||
|