target

abstract external var target: Any?(source)

The event target to listen to, defaults to { kind: 'Any' }, see {@link EventTarget}.

If a string is provided, it is used as the label of an AnyLabel target, i.e. { kind: 'AnyLabel', label: <the string> }.