Drag event in a disallow area

asked 2021-04-08 23:18:51 +0800

Sowyk gravatar image Sowyk


Is it prossible to capture a drag event when you are in a disallow area?. No event jumps, but I need it to eliminate a tooltip in that cases.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-04-09 18:13:57 +0800

MDuchemin gravatar image MDuchemin
1901 1 5
ZK Team

just to clarify, the intent is to send a "on hover event" when passing on some other item?

If so, I would do it like this: https://zkfiddle.org/sample/3ii72u4/1-Another-new-ZK-fiddle

using the getDropTarget() as hook to send a custom onCustomDragOver event and then listening to that event on the targets i want. Could be improved by only triggering fire() on wgts with a specific flag, etc, but this should show the main idea.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2021-04-08 23:18:51 +0800

Seen: 8 times

Last updated: Apr 09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More