@antv/g-mobile-canvas-element
v1.0.5
Published
Create a CanvasLike element from existed context in mobile environment
Downloads
1,192
Maintainers
Readme
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);