mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
9 lines
347 B
JavaScript
9 lines
347 B
JavaScript
|
var FunctionController = function() {
|
||
|
this.type = "function";
|
||
|
Controller.apply(this, arguments);
|
||
|
var input = document.createElement('input');
|
||
|
input.setAttribute('type', 'submit');
|
||
|
this.domElement.appendChild(input);
|
||
|
};
|
||
|
FunctionController.prototype = new Controller();
|
||
|
FunctionController.prototype.constructor = FunctionController;
|