Skip to content

Latest commit

History

History
108 lines (63 loc) · 1.65 KB

File metadata and controls

108 lines (63 loc) · 1.65 KB

API categories | API index

DragData (object)

Table of contents:

Methods

IsLink

Returnbool

Returns true if the drag data is a link.

IsFragment

Returnbool

Returns true if the drag data is a text or html fragment.

GetLinkUrl

Returnstring

Return the link URL that is being dragged.

GetLinkTitle

Returnstring

Return the title associated with the link being dragged.

GetFragmentText

Returnstring

Return the plain text fragment that is being dragged.

GetFragmentHtml

Returnstring

Return the text/html fragment that is being dragged.

GetImage

ReturnImage

Description from upstream CEF:

Get the image representation of drag data. May return NULL if no image representation is available.

Check with HasImage() first, otherwise if there is no image an exception is thrown.

GetImageHotspot

ReturnImage

Get the image hotspot (drag start location relative to image dimensions).

HasImage

Returnbool

Returns true if an image representation of drag data is available.