Header menu logo fable-electron-docs-api

Item Type

Constructors

Constructor Description

Item(file, icon, ?files)

Full Usage: Item(file, icon, ?files)

Parameters:
    file : string - The path to the file being dragged.
    icon : U2<NativeImage, string> - The image must be non-empty on macOS.
    ?files : string[] - The paths to the files being dragged. (files will override file field)

Returns: Item
file : string

The path to the file being dragged.

icon : U2<NativeImage, string>

The image must be non-empty on macOS.

?files : string[]

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

Returns: Item

Instance members

Instance member Description

this.file

Full Usage: this.file

The path to the file being dragged.

this.files

Full Usage: this.files

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

this.icon

Full Usage: this.icon

The image must be non-empty on macOS.

Type something to start searching.