drage
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i drage

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

10.5 kB

Total Files

6

Last publish

Collaborators

  • zrnof