Hi @claresloggett,
Glad you found @meredydd’s example useful!
- The best way to do this is with Javascript, since you’re driving an external JS library.
- Yes, absolutely - I’d start by implementing any functionality you’d like to expose as Javascript functions. You can then use
self.call_js()
to call these functions from the Python code on your Form, or useanvil.call()
to call into your Python from your JS functions.