Package Exports
- jupyterlab-cell-flash
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jupyterlab-cell-flash) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
jupyterlab-cell-flash
Show a flash effect when a notebook cell is executed.
Requirements
- JupyterLab >= 2.0
Install
jupyter labextension install jupyterlab-cell-flash
Settings
Use the following settings to tweak the color and the duration of the animation (in Settings > Advanced Settings Editor
):
{
// The base color for the flash effect
"color": "rgba(255, 255, 0, 0.5)",
// The duration of the flash effect animation (in seconds)
"duration": 0.5
}
Contributing
Install
The jlpm
command is JupyterLab's pinned version of
yarn that is installed with JupyterLab. You may use
yarn
or npm
in lieu of jlpm
below.
# Clone the repo to your local environment
# Move to jupyterlab-cell-flash directory
# Install dependencies
jlpm
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension link .
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build
You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.
# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch
Uninstall
jupyter labextension uninstall jupyterlab-cell-flash