Skip to content

Allow size breakpoints to be specified on spaces (i.e. to apply custom CSS classes) #61

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

Open
aeagle opened this issue Feb 3, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@aeagle
Copy link
Owner

aeagle commented Feb 3, 2020

Allow actions to be carried out when spaces when resized and the size hits various breakpoints.

  • Apply classes based on configuration?

or

  • Provide events when breakpoints reached and allow consumer to provide functionality themselves?

or

  • Both
@aeagle aeagle added the enhancement New feature or request label Feb 3, 2020
@Gibbo3771
Copy link
Contributor

I think this would be very useful. I know the issue is quite stale but I already have a use case for this.

Do you envision only X axis breakpoints or also Y? I assume X as that's what media queries use for the most part. I've already had a fair play with this and managed to get a provider and hook playing nicely using the domRect reference in the space.

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

No branches or pull requests

2 participants