Dispatches an event on the window object.
The name of the event to dispatch.
Optional
The routing info to dispatch.
Dispatches an event on the window object.