I have a dat.gui to control a three.js scene. I want it to display a text value from the DOM
<div id="data">data</div>
I can't see a way to get this to work. Could you please help me out? Thank you very much
var guiControls = new function() {
this.message = document.getElementById('data');
var gui = new dat.GUI();
gui.add(guiControls, 'message')