Documentation
On this page

Interface · Core and Composition

DropEvent

Normalized native drag-and-drop event.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

alt

readonly alt: boolean

Whether Alt is pressed.

Type: boolean

ctrl

readonly ctrl: boolean

Whether Control is pressed.

Type: boolean

effect

readonly effect: DropEffect

Drag effect proposed by the native platform.

Type: DropEffect

files

readonly files: readonly string[]

Local file paths carried by the drop.

Type: readonly string[]

meta

readonly meta: boolean

Whether the platform meta key is pressed.

Type: boolean

shift

readonly shift: boolean

Whether Shift is pressed.

Type: boolean

text

readonly text: string | null

Text carried by the drop, when available.

Type: string | null

Source

SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:213 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.