Documentation
On this page

Interface · Core and Composition

DropEvent

Normalized native drag-and-drop event.

@sharpts/gui · SharpTS 572a2e31be0e

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

src/SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:230 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.