Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvements in bounds #179

Open
PuruVJ opened this issue Dec 8, 2024 · 1 comment
Open

improvements in bounds #179

PuruVJ opened this issue Dec 8, 2024 · 1 comment

Comments

@PuruVJ
Copy link
Owner

PuruVJ commented Dec 8, 2024

Just collecting some ideas here.

Current bounds have a descriptive API. Usually specifying the element or parent or body is enough. However, the coords API is not good enough. Right now it has a CSS-like model of { top, left, right, bottom }. What if I wanna specify square of [from, to]. Of a specific area. I feel practically top left right bottom is useless unless it can behave exactly like CSS. with percantages, vh, vw, rem, em etc.

Secondly, how do we want to deal with partially overlapping bounds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@PuruVJ and others