Hello,
imagine a <div> element that contains various other div child
elements. (huge amount) I'd like to get the child element of the
parent div when I hold down the mouse button. (MouseDownEvent) In
order to let the parent <div> be the relative container coordinate
calculations will be made on I registered a new MouseEventHandler to
that parent element. But now I have the problem of getting the deepest
DOM element under mouse cursor (resp. top visible element under mouse
cursor when event occures) The method event.getSource() will only give
me the parent div element and the only method to accomplish this seems
to be via JSNI as shown here:
http://www.quirksmode.org/js/events_properties.html#target.
As I'd like to avoid JSNI where possible, is there a GWT driven way to
get the child element?
Greetings
- Marcel Karras