1.0.1 • Published 10 months ago
dash_intersection_observer v1.0.1
dash intersection observer
Intersection Observer for Dash
Install
pip install dash_intersection_observer
Development
Getting Started
Create a new python environment:
python -m venv venv . venv/bin/activate
Note: venv\Scripts\activate for windows
Install python dependencies:
pip install -r requirements.txt
- Install npm packages:
- Optional: use nvm to manage node version:
nvm install nvm use
- Install:
npm install
- Optional: use nvm to manage node version:
- Build:
npm run build
Component Code
Publish
If publish on npm:
npm build
npm publish
Justfile
Alternatively, use the provided just commands:
- Create a Python environment from previous step 1 and install:
just install
- Build
just build
- Publish
just publish
- See all commands with
just -l