* Gets the currently-visible element that represents the drag item. * While dragging this is the placeholder, otherwise it's the root element.
()
| 446 | * While dragging this is the placeholder, otherwise it's the root element. |
| 447 | */ |
| 448 | getVisibleElement(): HTMLElement { |
| 449 | return this.isDragging() ? this.getPlaceholderElement() : this.getRootElement(); |
| 450 | } |
| 451 | |
| 452 | /** Registers the handles that can be used to drag the element. */ |
| 453 | withHandles(handles: (HTMLElement | ElementRef<HTMLElement>)[]): this { |
no test coverage detected