dat.gui/controller.boolean.js

9 lines
344 B
JavaScript
Raw Normal View History

var BooleanController = function() {
this.type = "boolean";
Controller.apply(this, arguments);
var input = document.createElement('input');
input.setAttribute('type', 'checkbox');
this.domElement.appendChild(input);
};
BooleanController.prototype = new Controller();
BooleanController.prototype.constructor = BooleanController;