dovigod / V-Gesture

Other
2 stars 0 forks source link

[Enhancement] - delete register & unregister from Abstract plugin #42

Closed dovigod closed 3 months ago

dovigod commented 3 months ago

Start Date

No response

Summary

Delete register & unregister from Abstract plugin since it seems unnecessary. since AbstractGesture holds eventName property, register and unregister could be done automatically.

Basic Example

No response

Drawbacks

since AbstractGesturePlugin interface is changing, there will be conflicts for implemented plugins while newly updates will have register and unregister as default under the hood.

To minimize conflicts, I will allow to overwrite register and unregister, so that updates could be backward compatible.

Implementation PR

43

Reference Issues

No response