mahshid motie
mahshid motie

Reputation: 33

Is the any documentation on chronos-etu?

I am trying to integrate a time slider widget from chronos-etu to my app. Is there any documentation for it? what are the required inputs to create a new instance of time slider and such info.

My app is a vanilla JavaScript app.

I tried to add this src in my UI: <script src="https://cdn.jsdelivr.net/npm/[email protected]/chronos-etu.min.js" type= "module"></script>

and I get this erorr:Uncaught TypeError: Cannot read properties of undefined (reading 'Container') at Object.<anonymous> (chronos-etu.min.js:309)

Upvotes: 1

Views: 235

Answers (2)

Petr Broz
Petr Broz

Reputation: 9942

Update: the team behind chronos-etu is now including docs auto-generated from the code within the npm module: https://www.unpkg.com/[email protected]/docs/index.html.

Upvotes: 0

Mike
Mike

Reputation: 1

Hi @mahshid sorry for the extremely late response. As @Petr mentioned, this package is for the reference app, but as of 5.7.1 I've started exporting the docs along with the public package. Hopefully that helps.

Upvotes: 0

Related Questions