Add JSDoc for .removeFolder().

This commit is contained in:
Don McCurdy 2017-12-23 11:48:35 -05:00
parent 60033b6b1d
commit 76c80858c3

View File

@ -628,6 +628,11 @@ common.extend(
return gui; return gui;
}, },
/**
* Removes a subfolder GUI instance.
* {dat.gui.GUI} folder The folder to remove.
* @instance
*/
removeFolder: function(folder) { removeFolder: function(folder) {
this.__ul.removeChild(folder.domElement.parentElement); this.__ul.removeChild(folder.domElement.parentElement);