lil-gui
lil-gui copied to clipboard
Makes a floating panel for controllers on the web. Works as a drop-in replacement for dat.gui in most projects.
I have a super simple lil-gui demo that has one folder with one item. I also have a window event listener for 'keydown' events because I eventually want to enable...
need natvie way for add separator title ```ts addSeparator( f: GUI, title?: string ) { const separator = f.add( { l:100 }, 'l' ); const el = separator.domElement; const style:...
Hey there! I'm trying to keep track of the folder fold state to persist it in localStorage- what would the best way to accomplish that at the moment? I noticed...
dat.gui used to call on change would be nice to have it here also
When we initialise the gui maybe we can pass 'defaultClosed:true' or something like that to set the folder's default open or close state i'm migrating a three js project with...
Lovely library you have going here! Thought it'd be nice to have some sort of callback when a function button is clicked, similar to the onChange with other controllers.
This does two things: - Enable / disable a checkbox when clicking on the label - Focus the text input when clicked on the label
Would it be possible to add a function so that when you click on a folder all other folders in the Gui close automatically? Just an idea for larger GUi's.
Is this somehow supported? If not: how about just adding it by just using a rgb colorpocker, and entering the 'AA' value manually in the textbox (thats how dat.gui solved...
Providing a standard entry point to provide custom controllers would be lovely. Something on a GUI class instance would work. like: `const gui = new GUI();` `gui.add_custom_controller( 'addDate', DateController );`...