Available since 3.4.0

Outside events are synthetic DOM events that fire when a corresponding native or synthetic DOM event occurs outside a bound element.

The following outside events are pre-defined by this module: <ul> <li>blur</li> <li>change</li> <li>click</li> <li>dblclick</li> <li>focus</li> <li>keydown</li> <li>keypress</li> <li>keyup</li> <li>mousedown</li> <li>mousemove</li> <li>mouseout</li> <li>mouseover</li> <li>mouseup</li> <li>select</li> <li>submit</li> </ul>

Define new outside events with <code>Y.Event.defineOutside(eventType);</code>. By default, the created synthetic event name will be the name of the event with "outside" appended (e.g. "click" becomes "clickoutside"). If you want a different name for the created Event, pass it as a second argument like so: <code>Y.Event.defineOutside(eventType, "yonderclick")</code>.

This module was contributed by Brett Stimmerman, promoted from his gallery-outside-events module at