@antv/g-plugin-html-renderer
TypeScript icon, indicating that this package has built-in type declarations

2.1.15 • Public • Published

@antv/g-plugin-html-renderer

Render HTML for g-canvas/svg/webgl.

const p1 = new HTML({
    style: {
        x: 200,
        y: 100,
        html: 'p1',
    },
});
const p2 = new HTML({
    style: {
        x: 400,
        y: 100,
        html: 'p2',
    },
});

// 修改属性
p1.style.x = x1;
p1.style.filter = 'blur(5px)';

// 变换
p1.translate(100, 0);
p1.scale(2);

Readme

Keywords

Package Sidebar

Install

npm i @antv/g-plugin-html-renderer

Weekly Downloads

43,479

Version

2.1.15

License

MIT

Unpacked Size

124 kB

Total Files

15

Last publish

Collaborators

  • lvisei
  • 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
  • laixingui.lxg
  • susiwen8
  • yanxiong
  • zeyuwang
  • rainy25ghz
  • zhangjunjie-loki
  • flash1
  • yisi.wang
  • dreammy23
  • biupiubiupiu
  • basketduck
  • xuying1027
  • banxuan