streamlit-timeline icon indicating copy to clipboard operation
streamlit-timeline copied to clipboard

No way to pass arguments to the additionalOptions

Open KristianMischke opened this issue 3 years ago • 1 comments

There is currently no way to pass arguments to the python timeline function such that they are put into the optionalArguments. See: streamlit_timeline/__init__.py#L46

It would be nice to adjust the options listed here (e.g. to set the starting slide or zoom levels)

would expect to be able to do something like this:

timeline(data, options={"scale_factor": 1, "start_at_slide": 5})

KristianMischke avatar Jul 14 '21 18:07 KristianMischke