(
element: ElementRef<HTMLElement> | HTMLElement,
private _dragDropRegistry: DragDropRegistry,
_document: any,
private _ngZone: NgZone,
private _viewportRuler: ViewportRuler,
)
| 212 | private _direction: Direction = 'ltr'; |
| 213 | |
| 214 | constructor( |
| 215 | element: ElementRef<HTMLElement> | HTMLElement, |
| 216 | private _dragDropRegistry: DragDropRegistry, |
| 217 | _document: any, |
| 218 | private _ngZone: NgZone, |
| 219 | private _viewportRuler: ViewportRuler, |
| 220 | ) { |
| 221 | const coercedElement = (this.element = coerceElement(element)); |
| 222 | this._document = _document; |
| 223 | this.withOrientation('vertical').withElementContainer(coercedElement); |
| 224 | _dragDropRegistry.registerDropContainer(this); |
| 225 | this._parentPositions = new ParentPositionTracker(_document); |
| 226 | } |
| 227 | |
| 228 | /** Removes the drop list functionality from the DOM element. */ |
| 229 | dispose() { |
nothing calls this directly
no test coverage detected