mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
9 lines
360 B
JavaScript
9 lines
360 B
JavaScript
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; |