infi-pc / locatorjs

https://www.locatorjs.com
1.31k stars 60 forks source link

feat: Adding support for disabling certain elements to open. (like in a mono-repo design system) #143

Open amirrezaDev1378 opened 6 months ago

amirrezaDev1378 commented 6 months ago

Describe the feature

Hello, I'm encountering a problem in one of my projects, I have some wrapper elements in my design system and locator js always opens them instead of the actual component.

It would be great to use something like data-locator-disable (at the component level) to disable certain elements.

I would love to send a pull request for this feature.

amirrezaDev1378 commented 6 months ago

I created a pull request for this feature.

rasoulm777 commented 6 months ago

This would be great! I can't wait to use this.