dat.gui/controller.function.js

9 lines
347 B
JavaScript
Raw Normal View History

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;