ComponentEvent

class ComponentEvent(type)

A custom event class for the components.

The constructor.

Arguments:
  • type (String) – The event type

ComponentEvent.info

All informations from the web component itself, packed in a clean object with the following properties:

  • component: The component itself

  • target: The target within the component on which the event was dispatched

  • type: The Translucent event type