Skip to content

$screen helper #37

Answered by MuzafferDede
SimoTod asked this question in Ideas
Nov 16, 2020 · 3 comments · 29 replies
Discussion options

You must be logged in to vote

I would go with defining breakpoints by user instead of writing in the code. I am not sure what path would be the best to define these breakpoints only once and let $screen helper to initialize it.

Perhaps we could at least provide tailwindcss grid as default and a way to provide override?

@KevinBatdorf for your suggestion on callback, what would be the use case? Even there is one, can we just use $watch helper for that?

My add on to this helper would be providing touch detection, maybe portrait and landscape mode as well.

I used the have this idea of having a way to set Alpine related configurations to make almost anything configurable, but i think this would be a better approach for V3.…

Replies: 3 comments 29 replies

Comment options

You must be logged in to vote
16 replies
@MuzafferDede
Comment options

@SimoTod
Comment options

SimoTod Nov 18, 2020
Maintainer Author

@KevinBatdorf
Comment options

@MuzafferDede
Comment options

@KevinBatdorf
Comment options

Answer selected by SimoTod
Comment options

You must be logged in to vote
4 replies
@MuzafferDede
Comment options

@SimoTod
Comment options

SimoTod Nov 16, 2020
Maintainer Author

@KevinBatdorf
Comment options

@MuzafferDede
Comment options

Comment options

SimoTod
Nov 23, 2020
Maintainer Author

You must be logged in to vote
9 replies
@HugoDF
Comment options

@MuzafferDede
Comment options

@SimoTod
Comment options

SimoTod Nov 23, 2020
Maintainer Author

@SimoTod
Comment options

SimoTod Nov 23, 2020
Maintainer Author

@MuzafferDede
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants