Skip to content

Commit

Permalink
Merge pull request #2681 from lorenzos/master
Browse files Browse the repository at this point in the history
Note for mouseenter/mouseleave was incorrectly placed below mousewheel
  • Loading branch information
Arian Stolwijk committed Nov 28, 2014
2 parents e4a340b + f9bc694 commit 652ee5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Docs/Element/Element.Event.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ This event fires when the mouse leaves the area of the DOM Element and will not

$('myElement').addEvent('mouseleave', myFunction);

#### Notes:

- `mouseenter` and `mouseleave` events are supported natively by Internet Explorer, Opera 11, and Firefox 10. MooTools will only add the custom events if necessary.

#### See Also:

- [Element:addEvent](#Element:addEvent)
Expand All @@ -314,8 +318,6 @@ This event fires when the mouse wheel is rotated;

#### Notes:

- `mouseenter` and `mouseleave` events are supported natively by Internet Explorer, Opera 11, and Firefox 10. MooTools will only add the custom events if necessary.

- This custom event just redirects DOMMouseScroll (Mozilla) to mousewheel (Opera, Internet Explorer), making it work across browsers.

#### See Also:
Expand Down

0 comments on commit 652ee5f

Please sign in to comment.