Aplicativos do Windows
Recolher sumário
Expandir sumário
EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

toElement property

Gets the object that the mouse pointer entered.

Syntax

JavaScript

p = object.toElement

 

Property values

Type: Object

The current object.

Standards information

There are no standards that apply here.

Remarks

You can use the toElement property for onmouseenter, onmouseleave, onmouseover, and onmouseout events. For example, during an onmouseover event, the fromElement property gets the element that the mouse pointer has exited, and the toElement property gets the element that the mouse pointer has entered.

See also

DragEvent
MouseEvent
MouseWheelEvent
WheelEvent
Reference
fromElement
srcElement

 

 

Mostrar:
© 2016 Microsoft