W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2010

Re: Clarification on mouseenter/mouseleave

From: Joćo Eiras <joao.eiras@gmail.com>
Date: Thu, 01 Jul 2010 03:33:39 +0100
To: "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <op.ve472dz1jz3wb9@coruscant>

>>> Looks like it.
>>> And the W3C DOM model won't haven't an equivalent to fromElement - for
>>> mouseleave - and toElement - for mouseenter. I can't see a need for
>>> them, but would be nice to know how they are being used on the web.
>>>
>>
>> There is, it's relatedTarget.
>>
>
> For mouseleave, relatedTarget is equivalent to toElement.
> For mouseenter, relatedTarget is equivalent to fromElement.
>

Oh, you mean target then.
Received on Thursday, 1 July 2010 03:00:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:04 GMT