Event

constructor(type: String, bubbles: Boolean, data: Any?)

Parameters

type

The event name.

bubbles

Whether the event is marked as bubbling.

data

The event payload, or null.