Raster.addListener( element, eventName, eventHandler )

Adds a given event listener to a DOM element.

Parameters

Name Type   Description
element object DOM element where to attach the event
eventName string Event name without the "on" prefix.
eventHandler function Pointer to the function listening for this event.
Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López