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

trigger mobile view by query param #163

Open
tobiasnteireho opened this issue Nov 17, 2021 · 1 comment
Open

trigger mobile view by query param #163

tobiasnteireho opened this issue Nov 17, 2021 · 1 comment
Assignees

Comments

@tobiasnteireho
Copy link
Contributor

Adding a query param that triggers mobile view would be useful for testing rapid changes of interview delivery,

@janebitovi
Copy link
Contributor

in the meantime, you can add a bookmark to your browser with this as the url/location:

javascript:(x => x.attr("useMobileUI", !x.attr("useMobileUI")))(document.querySelector('debug-menu').viewModel.appState.interview)

and you can click it to toggle the mobile layout view
mobiletoggle

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