Skip to content

Commit

Permalink
ADD: Added an explanation of how to switch between mobile emulation t…
Browse files Browse the repository at this point in the history
…o the contributing docs
  • Loading branch information
Kyle Klus committed Dec 28, 2024
1 parent f5df378 commit 50d513f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/docs/en/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions docs/docs/zh/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50d513f

Please sign in to comment.