dispatchEvent

Sends an event to the browser.

Interface

PODSWindow

IDL definition
PODSBoolean dispatchEvent (ADOMEvent event, PODSString type);
JavaScript synopsis
window.dispatchEvent (event, type)
C synopsis
PODSBoolean* PODSdispatchEvent(
  PODSWindow* window,
  ADOMEvent* event,
  PODSString type
);
Parameters
  • window   The PODSWindow object.

  • event   The event to be sent to the browser.

  • type   The name of the event that the event handler will use in determining whether to handle the event.

Returns

PODS_TRUE if event has been handled; PODS_FALSE otherwise.

Remarks

You can add an event handler to any node in the DOM that will respond to a specific event name.