0.2.0 • Published 4 years ago

@wallneradam/full_screen v0.2.0

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
4 years ago

@wallneradam/full_screen

Full screen command and menu.

It creates a menu entry under View menu and a command in the command palette. Clicking it will make the app full screen. It make sense when you use JupyterLab in a chrome application, not in the browser. Because applications can't go full screen by pressing F11 (or other key combinations), just programmatically.

I created an app from JupyterLab with this: https://applicationize.me/

Keyboard shortcut

You can add the following into the Keybosrd Shortcuts (Advanced Settings Editor):

"shortcuts": [
        ...
        {
            "command": "full_screen:toggle",
            "keys": [
                "F11"
            ],
            "selector": "body"
        },
        ...
]

Prerequisites

  • JupyterLab

Installation

jupyter labextension install @wallneradam/full_screen

Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

npm install
npm run build
jupyter labextension link .

To rebuild the package and the JupyterLab app:

npm run build
jupyter lab build