JavaScript » Button » handleEvent

Syntax:
button.handleEvent(event)

This method calls the handler for the specified event.