Skip to content

Latest commit

 

History

History
94 lines (54 loc) · 1.36 KB

File metadata and controls

94 lines (54 loc) · 1.36 KB

API categories | API index

DragData (object)

Table of contents:

Methods

IsLink

Return bool

Returns true if the drag data is a link.

IsFragment

Return bool

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

GetLinkUrl

Return string

Return the link URL that is being dragged.

GetLinkTitle

Return string

Return the title associated with the link being dragged.

GetFragmentText

Return string

Return the plain text fragment that is being dragged.

GetFragmentHtml

Return string

Return the text/html fragment that is being dragged.

GetImage

Return Image

Get image representation of drag data. Check with HasImage() first, otherwise if there is no image an exception is thrown.

HasImage

Return bool

Whether image representation of drag data is available.