$ npm install @antv/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.
import { createMobileCanvasElement } from '@antv/g';
const mobileCanvasElement = createMobileCanvasElement(context);
© 2010 - cnpmjs.org x YWFE | Home | YWFE