mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 12:14:41 +08:00

This is so the target element for file drag + drop is not always just this.element for the component, and provides a way to hook into onDragOver and onDragLeave. By default also adds a .uppy-is-drag-over class to the target element.