Skip to content

ElectronItem

Unofficial

The item to drag during a drag-and-drop operation.

Import:

import type { ElectronItem } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronItem

Properties

PropertyTypeDescription
filestringThe path to the file being dragged.
files?string[]The paths to the files being dragged. Overrides the file field.
iconElectronNativeImage | stringThe image shown under the cursor while dragging. Must be non-empty on macOS.