georgealways
georgealways
Another plus one from me! thx for the awesome project btw, much love
What's funny is that this lib's developer experience (with the error wall) is still preferable to node's --experimental-modules
@gbkwiatt I'm jealous! I've tried this more than once and it always requires a non-trivial refactor that looks uglier than what I started with. - I have a test runner...
Question for those requesting this feature: can you tell me why your "onChange" behavior isn't already part of the function you've bound to the controller? cc @miketucker
`new GUI({ closeFolders: true })` is definitely planned for the next release. Until then, anyone can use this snippet for the same result: ```js const addFolder = GUI.prototype.addFolder; GUI.prototype.addFolder =...
Yes, that's bad advice I'm giving above. Most likely this isn't working because we're actually calling the `openAnimated` method when you open a folder via click. `open` is for programmatic...
Hi there, I just published version 0.18 which has a new method called [gui.onOpenClose](https://lil-gui.georgealways.com/#GUI#onOpenClose). You can use that to listen for folder open/close events and then close sibling folders in...
Hi there, revisiting old PR's today—if the intent is to make checkbox labels clickable, then I think changing the container element of every controller in the library is too drastic...
As of 0.18, buttons call their `onChange` handlers on click. There's still some minutiae I want to figure out though: Currently this triggers the `gui.onChange` handler of any folder above...
As of version 0.18, `new GUI({ closeFolders: true })` works as described above.