# Custom Events

## Introduction

With MooTools it is easy to define often used actions as custom events for elements. This is especially useful for input-elements. This demo shows you how to define a custom event, that only fires when you press the Enter-Button inside the given element.

Why? Custom events are really useful when the standard events are just not enough. See the Mouseenter-Demo for a more advanced example.

## Mousewheel-Event

The mousewheel event is a custom MooTools-Event, which allows you to use the scrollwheel as an event, because every browser handles it differently. Try to use your mousewheel over the element below.