Example: Toggle fullscreen

The example below demonstrates using the action to toggle fullscreen mode.

After the workspace has opened, try pressing the “Toggle Fullscreen” button.