Event.source

This is the widget that emitted the event.

More...
class Event
Widget source;

Detailed Description

The aliased names come from Javascript for ease of web developers to transition in, but they're all synonyms.

Meta

History

The source name was added on May 14, 2021. It is a little weird that source and target are synonyms, but that's a side effect of it doing both capture and bubble handlers and people are used to it from the web so I don't intend to remove these aliases.