Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@antv/g-plugin-html-renderer

Package Overview
Dependencies
Maintainers
72
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-plugin-html-renderer

A G plugin for rendering HTML

latest
Source
npmnpm
Version
2.3.1
Version published
Weekly downloads
21K
-68.42%
Maintainers
72
Weekly downloads
 
Created
Source

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

Keywords

antv

FAQs

Package last updated on 12 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts