Skip to content

y2kbugger/htmx-plotly-bidirectional

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

htmx-plotly-bidirection

Bidirectional communication between Plotly and HTMX.

  • HTMX controls can update Plotly charts on the page.
  • Plotly events can trigger HTMX updates (either on the page or the plot itself).

Install

We assume you have correctly installed both HTMX and Plotly on your page.

To use our CDN (a passthrough to the latest version on github):

<script src="https://cdn.jsdelivr.net/gh/y2kbugger/htmx-plotly-bidirectional@master/static/htmx-plotly-bidirectional.js" crossorigin="anonymous"></script>

Examples

Please see templates/index.html for a full the front-end usage.

Find the back-end FastApi example in server.py

About

Bidirectional communication between Plotly and HTMX.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published