struct Protocol::Input::DragDataItem

Included Modules

Defined in:

protocol/input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def base_url : String | Nil #

Stores the base URL for the contained markup. Only valid when mimeType == "text/html".


[View source]
def data : String #

Depending of the value of mimeType, it contains the dragged link, text, HTML markup or any other data.


[View source]
def mime_type : String #

Mime type of the dragged data.


[View source]
def title : String | Nil #

Title associated with a link. Only valid when mimeType == "text/uri-list".


[View source]