| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
DragHandler
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Store data into the DataTransfer object and set the allowed effects. Set data into the event's dataTransfer with a content-type and some string data. Some native dataTransfer objects will only set content-type of "Text" and/or "URL". allowedEffects is one of: 'none', 'copy', 'copyLink', 'copyMove', 'link', 'linkMove', 'move', or 'all' an example:
dt = event.dataTransfer
dt.setData('text/plain','Hello, World!')
dt.allowedEffects = 'copyMove'
|
this happens periodically while the drag is in progress. use DOM.eventPreventDefault(event) to cancel drag operation |
| Home | Trees | Indices | Help |
|
|---|
| http://epydoc.sourceforge.net |