diff --git a/docs/docs/en/contributing.md b/docs/docs/en/contributing.md index d9ff6505..576b9489 100644 --- a/docs/docs/en/contributing.md +++ b/docs/docs/en/contributing.md @@ -110,6 +110,14 @@ Please note that: - Document your functions & classes with JSDoc. +- One can switch between mobile view and desktop view by entering the following command in developer console: + + ```js + this.app.emulateMobile(false); // to switch to desktop view + + this.app.emulateMobile(true); // to switch to mobile view + ``` + - Test your changes in all arrangements that the ui can be in: 1. Desktop 2. Mobile portrait mode diff --git a/docs/docs/zh/contributing.md b/docs/docs/zh/contributing.md index d9ff6505..576b9489 100644 --- a/docs/docs/zh/contributing.md +++ b/docs/docs/zh/contributing.md @@ -110,6 +110,14 @@ Please note that: - Document your functions & classes with JSDoc. +- One can switch between mobile view and desktop view by entering the following command in developer console: + + ```js + this.app.emulateMobile(false); // to switch to desktop view + + this.app.emulateMobile(true); // to switch to mobile view + ``` + - Test your changes in all arrangements that the ui can be in: 1. Desktop 2. Mobile portrait mode