The click handlers weren't attaching because getElementById couldn't find the container — Python's id() generated IDs that didn't survive NiceGUI's DOM rendering. Now uses getElement() with the NiceGUI element ID and defers JS via requestAnimationFrame to ensure the DOM is ready. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 KiB
22 KiB