Skip to content

Custom controller - #1

Open
anhr wants to merge 1 commit into
masterfrom
Custom-Controller
Open

Custom controller#1
anhr wants to merge 1 commit into
masterfrom
Custom-Controller

Conversation

@anhr

@anhr anhr commented Apr 22, 2019

Copy link
Copy Markdown
Owner

For resolving of issue, described in dataarts#4 .

@anhr

anhr commented Apr 23, 2019

Copy link
Copy Markdown
Owner Author

Using:

var gui = new dat.GUI();
gui.addCustomController(object, [property], [min], [max], [step]);

For more details see gui.add
and add some features:
Param object.constructor = function ( controller ) {
//Add your custom elements into controller.domElement
}
See an example of using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant