$dragMark

called during drag-n-drop, when some item of the component should be marked as an active drop target

boolean $dragMark(object context,Event ev);
context
objecta drag-n-drop context ev
Eventa native HTML event
booleanreturning false will prevent a drag operation

Related samples

Details

The method isn't purposed for direct call! It is an extension point.

You can override it with your own logic, but check drag-n-drop related events first, as they provide a much more convenient way of drag-n-drop handling.

The drag-and-drop context can have the following properties:

See also
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.