Skip to content

DropResult

Unofficial

Result returned from a drop handler indicating the outcome of a drop operation.

Import:

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

Signature:

export interface DropResult

Properties

PropertyTypeDescription
actionnull | stringAction identifier describing what happened on drop (e.g. "link", "move").
dropEffect'copy' | 'link' | 'move' | 'none'The drop effect to apply to the drag event.
hoverClass?stringCSS class to apply to the hover target element.
hoverEl?HTMLElement | nullElement to highlight as the current drop target.

Links to this page: