Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/dat-gui

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/dat-gui - npm Package Compare versions

Comparing version 0.5.29 to 0.6.0

64

dat-gui/index.d.ts

@@ -1,5 +0,5 @@

// Type definitions for dat.GUI v0.5
// Type definitions for dat.GUI v0.6.1
// Project: https://github.com/dataarts/dat.gui
// Definitions by: Satoru Kimura <https://github.com/gyohk>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Definitions by: Satoru Kimura <https://github.com/gyohk>, ZongJing Lu <https://github.com/sonic3d>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -26,7 +26,36 @@ declare namespace dat {

remove(controller: GUIController): void;
destroy(): void;
addFolder(propName:string): GUI;
open(): void;
close(): void;
open(): void;
remember(target: Object): void;
remember(target: Object, ...additionalTargets: Object[]): void;
getRoot(): GUI;
getSaveObject(): Object;
save(): void;
saveAs(presetName:string): void;
revert(gui:GUI): void;
listen(controller: GUIController): void;
updateDisplay(): void;
// gui properties in dat/gui/GUI.js
parent(): GUI;
scrollable(): boolean;
autoPlace(): boolean;
preset(): string;
preset(s: string): void;
width(): number;
width(n: number): void;
name(): string;
name(s: string): void;
closed(): boolean;
closed(b: boolean): void;
load(): Object;
useLocalStorage(): boolean;
useLocalStorage(b: boolean): void;
}

@@ -45,15 +74,26 @@

destroy(): void;
fire(): GUIController;
// Controller
onChange: (value?: any) => void;
onFinishChange: (value?: any) => void;
setValue(value: any): GUIController;
getValue(): any;
updateDisplay(): void;
isModified(): boolean;
listen(): GUIController;
// NumberController
min(n: number): GUIController;
remove(target: GUIController): void;
setValue(value: any): GUIController;
max(n: number): GUIController;
step(n: number): GUIController;
updateDisplay(): void;
onChange: (value?: any) => void;
onFinishChange: (value?: any) => void;
// FunctionController
fire(): GUIController;
// augmentController in dat/gui/GUI.js
options(option:any):GUIController;
name(s: string): GUIController;
listen(): GUIController;
remove(): GUIController;
}
}

9

dat-gui/package.json
{
"name": "@types/dat-gui",
"version": "0.5.29",
"description": "TypeScript definitions for dat.GUI v0.5",
"version": "0.6.0",
"description": "TypeScript definitions for dat.GUI v0.6.1",
"license": "MIT",
"author": "Satoru Kimura <https://github.com/gyohk>",
"author": "Satoru Kimura <https://github.com/gyohk>, ZongJing Lu <https://github.com/sonic3d>",
"main": "",

@@ -14,4 +14,5 @@ "repository": {

"dependencies": {},
"peerDependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "da12f334083014844272eab721b85d6c3210f42ac83bad8c5fd8a5a78cf33bbf"
"typesPublisherContentHash": "874556b9da435d7335553c287de6648a917536b74ccb689b47d004cc6ccd9ccb"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for dat.GUI v0.5 (https://github.com/dataarts/dat.gui).
This package contains type definitions for dat.GUI v0.6.1 (https://github.com/dataarts/dat.gui).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Mon, 19 Sep 2016 16:15:24 GMT
* Last updated: Tue, 08 Nov 2016 14:00:30 GMT
* File structure: Global

@@ -20,2 +20,2 @@ * Library Dependencies: none

# Credits
These definitions were written by Satoru Kimura <https://github.com/gyohk>.
These definitions were written by Satoru Kimura <https://github.com/gyohk>, ZongJing Lu <https://github.com/sonic3d>.
{
"authors": "Satoru Kimura <https://github.com/gyohk>",
"authors": "Satoru Kimura <https://github.com/gyohk>, ZongJing Lu <https://github.com/sonic3d>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [],
"moduleDependencies": [],
"libraryMajorVersion": "0",
"libraryMinorVersion": "5",
"libraryName": "dat.GUI v0.5",
"libraryMajorVersion": 0,
"libraryMinorVersion": 6,
"libraryName": "dat.GUI v0.6.1",
"typingsPackageName": "dat-gui",

@@ -22,3 +22,3 @@ "projectName": "https://github.com/dataarts/dat.gui",

"hasPackageJson": false,
"contentHash": "da12f334083014844272eab721b85d6c3210f42ac83bad8c5fd8a5a78cf33bbf"
"contentHash": "874556b9da435d7335553c287de6648a917536b74ccb689b47d004cc6ccd9ccb"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc