@antv/gui
TypeScript icon, indicating that this package has built-in type declarations

0.5.1-alpha.1 • Public • Published

GUI

UI components for G.

Build Status Coverage Status npm Version npm Download npm License

✨ Features

📦 Installation

$ npm install @antv/gui

🔨 Getting Started

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();

📎 Components

📮 Contribution

$ git clone git@github.com:antvis/gui.git

$ cd gui

$ npm install

$ npm run dev

Then send a pull request after coding.

📄 License

MIT@AntV.

/@antv/gui/

    Package Sidebar

    Install

    npm i @antv/gui

    Weekly Downloads

    993

    Version

    0.5.1-alpha.1

    License

    MIT

    Unpacked Size

    3 MB

    Total Files

    1327

    Last publish

    Collaborators

    • xuying1027
    • lvisei
    • yisi.wang
    • basketduck
    • biupiubiupiu
    • flash1
    • dreammy23
    • laixingui.lxg
    • zhangjunjie-loki
    • rainy25ghz
    • zeyuwang
    • yanxiong
    • susiwen8
    • freestyle21
    • soundquiet
    • elaine.q.10
    • sturuby
    • sakuya223
    • serializedowen
    • xdzhao
    • yangzhanmei
    • wjgogogo
    • leungwensen
    • dori
    • iaaron
    • yard
    • simaq
    • dxq613
    • intchous
    • susan_ann
    • jinke.li
    • lzxue
    • army8735
    • atool
    • baizn
    • dengfuping
    • neoddish
    • jeffy2012
    • zqlu
    • afc163
    • pomelo-nwu
    • kopiluwaky
    • ccnuzindex
    • panyuqi
    • bubkoo
    • zengyue
    • kasmine
    • boyu.zlj
    • l1ud0ngq1
    • newbyvector
    • winniexing
    • chenluli
    • kn9117
    • xdddst
    • semious2020
    • esora
    • nadia_liu
    • bbsqq
    • mxz96102
    • openwayne
    • pearmini
    • pddpd
    • yiqianyao
    • zhanba
    • cxxxxxn
    • xcf(-_-)
    • siqishen
    • boyyangzai