aweary / react-perimeter

🚧 Create an invisible perimeter around an element and respond when its breached.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide API for determining perimeter shape

aweary opened this issue · comments

Currently, the perimeter is just a square extending outwards from the element in all directions. It would be awesome if we could provide an API that lets you determine any arbitrary shape or conditions for the perimeter breach.

I think this is interesting, May I have this issue?