drage
v1.0.1
Published
Draggable Container
Downloads
6
Readme
Drage
Draggable Container.
Installation
You can install Drage
using npm:
npm i drage
Usage
Here's an example of how to use Drage
in combination with Tweakpane:
import { Drage } from "drage"
import { Pane } from "tweakpane"
// Create a Drage container
const { contentArea } = Drage()
// Create a Tweakpane instance
const pane = new Pane({
title: "Parameters",
container: contentArea,
})
// Your customization here...
LICENSE
Please refer to the MIT license for detailed licensing information.