Gets the current view mode in the editor, which can be either 'DESKTOP'
or ‘MOBILE’
. This enables you to show different options in your settings panel depending on whether the user is viewing the desktop or mobile versions of their site.
1
This method does not take any parameters.
Promise<string>
The current view mode in the editor, which can be either 'DESKTOP'
or ‘MOBILE’
.
1