图形界面
用户界面组件 G级。 。 。 .
* 特性
* 安装
$ npm install @antv/gui
开始
import { Canvas } from '@antv/g';
import { Renderer } from '@antv/g-canvas';
import { Button } from '@antv/gui';
// create a canvas
const canvas = new Canvas({
container: 'container',
width: 600,
height: 600,
renderer: new Renderer(),
});
// create a button
const button = new Button({
/* ... */
});
canvas.appendChild(button);
// render it
canvas.render();
组件
捐款
$ git clone [email protected]:antvis/gui.git
$ cd gui
$ npm install
$ npm run dev
编码后再发送拉出请求.
许可证
麻省理工学院@蚂蚁V。 。 。 .