* Registers the template that should be used for the drag preview. * @param template Template that from which to stamp out the preview.
(template: DragPreviewTemplate | null)
| 474 | * @param template Template that from which to stamp out the preview. |
| 475 | */ |
| 476 | withPreviewTemplate(template: DragPreviewTemplate | null): this { |
| 477 | this._previewTemplate = template; |
| 478 | return this; |
| 479 | } |
| 480 | |
| 481 | /** |
| 482 | * Registers the template that should be used for the drag placeholder. |