Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@antv/g-plugin-dragndrop

antvis266.7kMIT2.0.35TypeScript support: included

A G plugin for Drag n Drop implemented with PointerEvents

antv, g

readme

@antv/g-plugin-dragndrop

Orbit control with Hammer.js.

Getting Started

import { Plugin } from '@antv/g-plugin-dragndrop';

// create a renderer
const canvasRenderer = new CanvasRenderer();

// register Control plugin
canvasRenderer.registerPlugin(new Plugin());