CCALI / a2jviewer

This is the repo for the A2J Viewer
https://www.a2jauthor.org
Other
5 stars 8 forks source link

trigger mobile view by query param #163

Open tobiasnteireho opened 2 years ago

tobiasnteireho commented 2 years ago

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

janebitovi commented 2 years ago

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