EventTarget

typealias EventTarget = Any(source)

The target of an event, used to filter which listeners receive it and which listeners a given emit reaches.

  • Any: matches every target (the default).

  • AnyLabel: matches any window, webview or webview window with the given label.

  • App: the application itself, i.e. listeners registered with app.listen on the Rust side.

  • Window / Webview / WebviewWindow: the specific target with that label.

Since

2.0.0