| Parameter | Type | Description |
|---|---|---|
event | string | Event type (currently only event_pen_up is supported) |
registerType | number | Registration priority: 0 always first, 1 normal order, 2 always last. When multiple plugins register the same event, plugins are ordered by registration, and the priority affects placement (0 first, 2 last). |
penUpListener | PluginEventListener | Event callback object that implements onMsg(msg).The msg structure depends on the event type.When event is event_pen_up, msg is an array of Element. |
PluginEventSubscription: subscription object. Callingremove()unregisters the event and removes the local subscription.