@antv/g-plugin-html-renderer
A G plugin for rendering HTML
Last updated 4 years ago by panyuqi .
MIT · Repository · Bugs · Original npm
$ cnpm install @antv/g-plugin-html-renderer 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.7.42                                ...           latest (3 years ago)

5 Versions

  • 1.7.42                                ...           3 years ago
  • 1.1.8-alpha.1                                ...           3 years ago
  • 1.7.8                                ...           3 years ago
  • 1.0.0-alpha.21                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org