LensStudio:Event.js.EventListener
Type aliasA function that handles event notifications.
EventListener<
T> =Textendsvoid? () =>void: (data) =>void
A function that handles event notifications.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T | void | The type of data passed to the listener. Use void for events without data. |