dat.gui/controller.string.js

9 lines
360 B
JavaScript
Raw Normal View History

var StringController = function() {
this.type = "string";
Controller.apply(this, arguments);
var input = document.createElement('input');
input.setAttribute('value', this.object[this.propertyName]);
this.domElement.appendChild(input);
};
StringController.prototype = new Controller();
StringController.prototype.constructor = StringController;