【文件属性】:
文件名称:google-chart:Google Charts API网络组件
文件大小:130KB
文件格式:ZIP
更新时间:2021-01-29 17:19:19
api google polymer webcomponents visualizations
谷歌图表
网络组件。
请参阅:
用法
安装
npm i @google-web-components/google-chart
在HTML文件中
< html >
< head >
< script type =" module " >
import '@google-web-components/google-chart' ;
</ script >
</ head >
< body >
< google data =' [["Month", "Days"], ["Jan", 31]] '> google>
</ body >
</ html >
在LitElement中
import { LitElement , html , customElement } from 'lit-element' ;
import '@google-web-components/google-chart' ;
@ customElement ( 'new-element' )
export class NewEl
【文件预览】:
google-chart-master
----src()
--------google-chart.ts(16KB)
--------loader.ts(6KB)
----.npmignore(0B)
----demo()
--------index.html(19KB)
--------country-data.json(822B)
--------chart-data.json(330B)
----.travis.yml(91B)
----tsconfig.json(415B)
----LICENSE(11KB)
----test()
--------index.html(1KB)
--------polymer-use-test.ts(3KB)
--------test-data-object.json(146B)
--------custom-load-test.html(953B)
--------test-data-array.json(43B)
--------wct.d.ts(344B)
--------basic-tests.html(913B)
--------query.json(251B)
--------basic-tests.ts(11KB)
--------custom-load-test.ts(2KB)
--------polymer-use-test.html(806B)
--------helpers.ts(872B)
----README.md(4KB)
----.gitignore(49B)
----package-lock.json(426KB)
----package.json(2KB)