dat.gui/controller.function.js
2011-01-24 12:38:52 -07:00

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;