dovigod / V-Gesture

Other
2 stars 0 forks source link

[Enhancement] - Create Gesture Plugin interface #19

Closed dovigod closed 5 months ago

dovigod commented 5 months ago

Start Date

No response

Summary

To make each dependency weaker, and make it easily extendable, it is better to split Click Gesture out of the box, and inject as plugin. For this, I need an general plugin & gesture interface for it

Basic Example

import clickGesture from 'click-gesture';

const vGesture = new VGesture()
vGesture.register(clickGesture);

Drawbacks

Its just kind of refactoring so no drawbacks expected.

Implementation PR

20 #21

Reference Issues

No response