Item

external interface Item(source)

Properties

Link copied to clipboard
abstract var file: String

The path to the file being dragged.

Link copied to clipboard
abstract var files: ReadonlyArray<String>?

The paths to the files being dragged. (files will override file field)

Link copied to clipboard
abstract var icon: Any

The image must be non-empty on macOS.