dovigod / V-Gesture

Other
2 stars 0 forks source link

[Feature] - gClickable attribute #7

Closed dovigod closed 4 months ago

dovigod commented 4 months ago

Start Date

2024/05/15

Implementation PR

9

Reference Issues

N/A

Summary

Add gClickable boolean attribute to indicate current element should be considered as g-clickable element.

Basic Example

// below button will trigger click event if click gesture is held over it
<button gClickable> button 1</button> 
// below button will not trigger click event if click gesture is held over it
<button> button 2</button> 

Drawbacks

Even though using k-d tree to reduce computation, V-Gesture take lot of computational resources as default. So specifing which to be part of domain is better

Unresolved questions

No response