@types/dat-gui
Advanced tools
Comparing version 0.5.29 to 0.6.0
@@ -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; | ||
} | ||
} |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5122
101