the triggering csp. This may be different than sourceNode's csp when sourceNode is xul:browser and the drag is triggered in a browsing context inside it.
The data transfer object for the current drag.
Sets the action (copy, move, link, et.c) for the current drag
Readonly
numGet the number of items that were dropped
Indicates if the drop event should be dispatched only to chrome.
Readonly
sourceThe dom node that was originally dragged to start the session, which will be null if the drag originated outside the application.
The top-level window context where the drag was started, which will be null if the drag originated outside the application. Useful for determining if a drop originated in the same top-level window context.
The window context where the drag was started, which will be null if the drag originated outside the application. Useful for determining if a drop originated in the same window context.
the triggering principal. This may be different than sourceNode's principal when sourceNode is xul:browser and the drag is triggered in a browsing context inside it.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Get data from a Drag&Drop. Can be called while the drag is in process or after the drop has completed.
the transferable for the data to be put into
which of multiple drag items, zero-based
Replace source node and selection with new ones.
If sourceNode is a native anonymous node, it may be replaced at reframing.
If sourceNode is disconnected from the document, we cannot dispatch
dragend
event properly.
When this is called, sourceNode or aNewSourceNode should be a native
anonymous node.
Generated using TypeDoc
Set the current state of the drag, whether it can be dropped or not. usually the target "frame" sets this so the native system can render the correct feedback