partridgejiang / Kekule.js

A Javascript cheminformatics toolkit.
http://partridgejiang.github.io/Kekule.js
MIT License
250 stars 61 forks source link

Turn into a web component #22

Open lastmjs opened 7 years ago

lastmjs commented 7 years ago

It would be amazing if this could be written as a web component. I'm not sure if the authors are familiar with web components, but they offer some extraordinary benefits that are becoming standard in all of the major browsers. As it is, I'm wary to use this library because it isn't a web component, and I can foresee some difficulties with incorporating it into our codebase. If it were a web component, we could use it almost as easily as any other HTML element. Thank you for the consideration, I'm happy to discuss this more.

partridgejiang commented 7 years ago

We do have such a plan to wrap some widgets like chem viewer and composer into web component. However, it may require quite a period of time and there is no schedule about it. Please be patient.

partridgejiang commented 4 years ago

Although a little late, but still glad to inform that the web component support has been implemented now. Please check https://partridgejiang.github.io/Kekule.js/documents/tutorial/content/webComponent.html, :).