GoogleWebComponents / google-chart

Google Charts API web components
https://www.webcomponents.org/element/@google-web-components/google-chart/elements/google-chart
Apache License 2.0
358 stars 130 forks source link

Polymer 3 #226

Closed rslawik closed 5 years ago

rslawik commented 5 years ago

Upgrade <google-chart> to Polymer 3 by running modulizer.

Steps: https://polymer-library.polymer-project.org/3.0/docs/upgrade

Tested:

rslawik commented 5 years ago

Hi @wesalvaro, could you have a look?

It is an alternative version of #222 but without the problematic initializeOnce function.

It contains various fixes to allow the code to be imported and compiled:

I also CC'ed you on the internal CL that imports the component as ES module.

Tested:

@e111077: it would be great to publish it to npm once merged.

Thanks!

wesalvaro commented 5 years ago

Thanks!

e111077 commented 5 years ago

published https://www.npmjs.com/@google-web-components/google-chart

rslawik commented 5 years ago

Great, thank you! Small live demo: https://jsbin.com/taximobici/edit?html,output