npm.io
1.0.42 • Published 7 months ago

@antv/g-mobile-canvas-element

Licence
MIT
Version
1.0.42
Deps
4
Size
50 kB
Vulns
0
Weekly
0
Stars
1.2K

g-mobile-canvas-element

Create a CanvasLike element with existed context, such as CanvasRenderingContext2D.

There's no need to use this if your runtime is a standard web environment which g-canvas is suitable.

Getting Started

import { createMobileCanvasElement } from '@antv/g';
const mobileCanvasElement = createMobileCanvasElement(context);

Keywords