src/dat/gui/GUI.js
function(controller) {
      // TODO listening?
      this.__ul.removeChild(controller.__li);
      this.__controllers.splice(this.__controllers.indexOf(controller), 1);
      const _this = this;
      common.defer(function() {
        _this.onResize();
      });
    }
function(controller) {
      // TODO listening?
      this.__ul.removeChild(controller.__li);
      this.__controllers.splice(this.__controllers.indexOf(controller), 1);
      const _this = this;
      common.defer(function() {
        _this.onResize();
      });
    }
function ( controller ) { // TODO listening? this . __ul . removeChild ( controller . __li ) ; this . __controllers . splice ( this . __controllers . indexOf ( controller ) , 1 ) ; const _this = this ; common . defer ( function ( ) { _this . onResize ( ) ; } ) ; }
Removes the given controller from the GUI.
@param {Controller} controller
@instance
Removes the given controller from the GUI .