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

[Documentation] Wrong example code for mobileBreakpoint #19563

Open
HijackHornet opened this issue Apr 8, 2024 · 2 comments · May be fixed by #19610
Open

[Documentation] Wrong example code for mobileBreakpoint #19563

HijackHornet opened this issue Apr 8, 2024 · 2 comments · May be fixed by #19610

Comments

@HijackHornet
Copy link

Environment

Browsers: Firefox 124.0
OS: Windows 10

Steps to reproduce

The documentation say it will show how to change mobile breakpoint value, but the example code is a duplicate of something else earlier in this page

Expected Behavior

Should show how to change breakpoint

Actual Behavior

Show how to see display info

Reproduction Link

https://vuetifyjs.com/en/features/display-and-platform/#usedisplay-overrides

Other comments

I actually dont know how to change the breakpoint so i'm really looking for clarification ^^

@HijackHornet
Copy link
Author

image

@b-maslennikov
Copy link

do you want this?

const { mobile } = useDisplay({ mobileBreakpoint: 580 })

check this as well: https://vuetifyjs.com/en/features/display-and-platform/#options

@SonTT19 SonTT19 linked a pull request Apr 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants