Home | Trees | Indices | Help |
|
---|
|
object --+ | DropHandler
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Decide whether to accept the drop. You may inspect the event's dataTransfer member. You may get the types using pyjamas.dnd.getTypes(event). This event is used to determine whether the drop target may accept the drop. If the drop is to be accepted, then this event has to be canceled using DOM.eventPreventDefault(event). |
This event determines what feedback is to be shown to the user. If the event is canceled, then the feedback (typically the cursor) is updated based on the dropEffect attribute's value, as set by the event handler; otherwise, the default behavior (typically to do nothing) is used instead. Setting event.dataTransfer.dropEffect may affect dropping behavior. Cancel this event with DOM.eventPreventDefault(event) if you want the drop to succeed. |
allows the actual drop to be performed. This event also needs to be canceled, so that the dropEffect attribute's value can be used by the source (otherwise it's reset). |
Home | Trees | Indices | Help |
|
---|
http://epydoc.sourceforge.net |