Vizceral-Component - Vizceral 的 web 组件封装


Apache
跨平台
JavaScript

软件简介

Vizceral-Component是Vizceral 的 web 组件封装。

使用:

添加vizceral-component 到 bower.json (和
webcomponentsjs)

"dependencies": {
 "vizceral-component": "git+ssh://git@github.com:Netflix/vizceral-component.git#master",
 "webcomponentsjs": "^0.7.21"
}

安装依赖

$ bower install

引用

<script type="text/javascript" src="js/webcomponents-lite.js"></script>
<link rel="import" href="components/vizceral-component/vizceral-component.html"></link>

使用

<vizceral-component view="['us-west-2']" show-labels="true" />