That will suffice for this case, I was not aware it was this easy to use conditionals in a view, thank you!
Best posts made by nniclas
-
RE: QDrawer - Set width based on breakpoint
Latest posts made by nniclas
-
RE: QDrawer - Set width based on breakpoint
That will suffice for this case, I was not aware it was this easy to use conditionals in a view, thank you!
-
RE: QDrawer - Set width based on breakpoint
@Allan-EN-GB so I thought, but actually not setting the :width will default the drawer to 300px regardless. (using v1.1.0)
you are able to use :width="$q.screen.width for full screen width
my issue is that it would be nice to set the width from a condition based on screen size@metalsadman thanks seems like a good pointer, I will look into this
-
RE: QDrawer - Set width based on breakpoint
As i understand it, :breakpoint defines from where mobile mode is active but is it possible to set full width in mobile mode only?
-
QDrawer - Set width based on breakpoint
Is there a way to set another width for small screens?
My use case is I need a fixed width for desktop and 100% width (:width="$q.screen.width) for mobile.It seems this cannot be done with media queries?