giswqs / streamlit-timeline

Streamlit component for rendering vis.js timeline
https://timeline.streamlitapp.com
MIT License
93 stars 11 forks source link

Is there a way to suppress the JSON output? #6

Open stanorama opened 1 year ago

stanorama commented 1 year ago

Nice work on this component. I have set selectable to False, but 'None' still appears under the timeline.

timeline = st_timeline(items, groups=[], options={"selectable": False}, style=None, height="200px")

Is there a way to suppress the JSON output from displaying? Or even better, maybe getting a callback when an item is clicked so the output can be customized?