| Package | ardisia.components.htmlDragDrop.events |
| Class | public class HtmlDragDropEvent |
| Inheritance | HtmlDragDropEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| dropEffect : String
Returns the kind of operation that is currently selected, E.G. | HtmlDragDropEvent | ||
| effectAllowed : String
Returns the kinds of operations that are to be allowed, E.G. | HtmlDragDropEvent | ||
| file : HtmlDragDropFile
The dropped file. | HtmlDragDropEvent | ||
| percentLoaded : Number
Only available on DRAG_PROGRESS events. | HtmlDragDropEvent | ||
| types : Vector.<String>
The Mime types of the dragged data. | HtmlDragDropEvent | ||
| Method | Defined By | ||
|---|---|---|---|
HtmlDragDropEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, dropEffect:String = null, effectAllowed:String = null, types:Vector.<String> = null, file:HtmlDragDropFile = null, percentLoaded:Number) | HtmlDragDropEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| DRAG_ABORT : String = dragAbort [static] | HtmlDragDropEvent | ||
| DRAG_DROP_STARTING : String = dragDropStarting [static] | HtmlDragDropEvent | ||
| DRAG_ENTER : String = dragEnter [static] | HtmlDragDropEvent | ||
| DRAG_LEAVE : String = dragLeave [static] | HtmlDragDropEvent | ||
| DRAG_LOAD : String = dragLoad [static] | HtmlDragDropEvent | ||
| DRAG_LOAD_START : String = dragLoadStart [static] | HtmlDragDropEvent | ||
| DRAG_OVER : String = dragOver [static] | HtmlDragDropEvent | ||
| DRAG_PROGRESS : String = dragProgress [static] | HtmlDragDropEvent | ||
| dropEffect | property |
public var dropEffect:StringReturns the kind of operation that is currently selected, E.G. the browsers dataTransfer.dropEffect. As of when I am writing this, only Chrome respects changes to this property.
The possible values are "none", "copy", "link", and "move".
Change the event value directly in the DRAG_ENTER event, and the change will be sent back to the browser.
The default value is null.
| effectAllowed | property |
public var effectAllowed:StringReturns the kinds of operations that are to be allowed, E.G. the browsers dataTransfer.effectAllowed. As of when I am writing this, only Chrome respects changes to this property.
The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized".
Change the event value directly in the DRAG_ENTER event, and the change will be sent back to the browser.
The default value is null.
| file | property |
| percentLoaded | property |
public var percentLoaded:NumberOnly available on DRAG_PROGRESS events. Indicates the percentage of the file that javascript has read into the data buffer.
| types | property |
public var types:Vector.<String>The Mime types of the dragged data.
The default value is null.
| HtmlDragDropEvent | () | Constructor |
public function HtmlDragDropEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, dropEffect:String = null, effectAllowed:String = null, types:Vector.<String> = null, file:HtmlDragDropFile = null, percentLoaded:Number)type:String | |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) | |
dropEffect:String (default = null) | |
effectAllowed:String (default = null) | |
types:Vector.<String> (default = null) | |
file:HtmlDragDropFile (default = null) | |
percentLoaded:Number (default = NaN) |
| DRAG_ABORT | Constant |
public static const DRAG_ABORT:String = dragAbort| DRAG_DROP_STARTING | Constant |
public static const DRAG_DROP_STARTING:String = dragDropStarting| DRAG_ENTER | Constant |
public static const DRAG_ENTER:String = dragEnter| DRAG_LEAVE | Constant |
public static const DRAG_LEAVE:String = dragLeave| DRAG_LOAD | Constant |
public static const DRAG_LOAD:String = dragLoad| DRAG_LOAD_START | Constant |
public static const DRAG_LOAD_START:String = dragLoadStart| DRAG_OVER | Constant |
public static const DRAG_OVER:String = dragOver| DRAG_PROGRESS | Constant |
public static const DRAG_PROGRESS:String = dragProgress