JavaScript » Layer » handleEvent

Syntax:
layer.handleEvent("eventID")

This method is used to call the handler for the specified event.