@types/drag-controls
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Installation

npm install --save @types/drag-controls

Summary

This package contains type definitions for drag-controls (https://github.com/jbyte/three-dragcontrols#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/drag-controls.

import * as THREE from "three";

declare class DragControls extends THREE.EventDispatcher {
    static install(library: { THREE: typeof THREE }): void;

    constructor(objects: readonly THREE.Object3D[], camera: THREE.Camera, domElement: HTMLCanvasElement);
    deactivate(): void;
}

export = DragControls;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: @types/three

Credits

These definitions were written by Matt Hawes.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/drag-controls

Weekly Downloads

2

Version

1.0.5

License

MIT

Unpacked Size

3.27 kB

Total Files

5

Last publish

Collaborators

  • types