issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 262k ⌀ | issue_title stringlengths 1 1.02k | issue_comments_url stringlengths 53 116 | issue_comments_count int64 0 2.49k | issue_created_at stringdate 1999-03-17 02:06:42 2025-06-23 11:41:49 | issue_updated_at stringdate 2000-02-10 06:43:57 2025-06-23 11:43:00 | issue_html_url stringlengths 34 97 | issue_github_id int64 132 3.17B | issue_number int64 1 215k |
|---|---|---|---|---|---|---|---|---|---|
[
"dataarts",
"dat.gui"
] | [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 | [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. | https://api.github.com/repos/dataarts/dat.gui/issues/332/comments | 0 | 2023-09-09T00:44:36Z | 2023-09-09T00:44:36Z | https://github.com/dataarts/dat.gui/issues/332 | 1,888,513,799 | 332 |
[
"dataarts",
"dat.gui"
] | Once a preset has been saved, one can never return to the default, which is unwanted as the default config might change, or a user might forget which values have been changed. | Impossible to revert saved preset to default | https://api.github.com/repos/dataarts/dat.gui/issues/326/comments | 1 | 2022-12-15T17:15:03Z | 2023-09-16T08:05:37Z | https://github.com/dataarts/dat.gui/issues/326 | 1,498,806,542 | 326 |
[
"dataarts",
"dat.gui"
] | null | color | https://api.github.com/repos/dataarts/dat.gui/issues/325/comments | 0 | 2022-11-02T21:27:08Z | 2022-11-02T21:27:12Z | https://github.com/dataarts/dat.gui/issues/325 | 1,433,807,767 | 325 |
[
"dataarts",
"dat.gui"
] | (1)10 folders;
(2)subfolder in folder;
(3)scroll bar cannot scroll to the bottom, can not displaying all contents | dat.gui scroll bar cannot scroll to the bottom, can not displaying all contents | https://api.github.com/repos/dataarts/dat.gui/issues/324/comments | 0 | 2022-10-06T09:13:48Z | 2022-10-06T09:13:48Z | https://github.com/dataarts/dat.gui/issues/324 | 1,399,173,414 | 324 |
[
"dataarts",
"dat.gui"
] | I'm trying to use dat.gui with vite + react + tailwind + three.js:
```
function App() {
useEffect(() => {
const gui = new dat.GUI({ width: 400 })
gui.add(..etc..)
return (
<>
<canvas className='fixed top-0 left-0 outline-none' id="MyCanvas" />
</>
)
}
```
but the gui is duplic... | Duplicated GUI with vite + react + three.js | https://api.github.com/repos/dataarts/dat.gui/issues/323/comments | 3 | 2022-09-21T14:13:55Z | 2023-12-24T05:01:34Z | https://github.com/dataarts/dat.gui/issues/323 | 1,381,006,867 | 323 |
[
"dataarts",
"dat.gui"
] | I don't think this is how it should work but I am a beginner....
When only redrawing on a gui change, the redraw call back seems to be called multiple times depending on the value of the slider.
So if slider is at 40, draw is run 40 times and prints the test text 40 times.
I was imagining it should only run on... | When using NoLoop and redraw callback from onFinishChange(redraw) runs multiple times depending on value | https://api.github.com/repos/dataarts/dat.gui/issues/322/comments | 0 | 2022-09-18T12:25:25Z | 2022-09-18T12:25:25Z | https://github.com/dataarts/dat.gui/issues/322 | 1,377,039,405 | 322 |
[
"dataarts",
"dat.gui"
] | ```
<template>
<canvas id="canvas"></canvas>
</template>
<script>
import { createNoise3D } from 'simplex-noise';
import * as dat from 'dat.gui';
export default {
name: 'NoiseAbstraction',
data: () => ({
}),
mounted() {
if (process.browser) {
/**
... | after use the dat.gui window is not defined in vue, nuxt project | https://api.github.com/repos/dataarts/dat.gui/issues/320/comments | 2 | 2022-08-28T13:49:46Z | 2024-04-25T14:16:54Z | https://github.com/dataarts/dat.gui/issues/320 | 1,353,359,448 | 320 |
[
"dataarts",
"dat.gui"
] | null | add types via `index.d.ts` | https://api.github.com/repos/dataarts/dat.gui/issues/318/comments | 1 | 2022-07-01T20:10:55Z | 2022-07-01T20:15:46Z | https://github.com/dataarts/dat.gui/issues/318 | 1,291,793,533 | 318 |
[
"dataarts",
"dat.gui"
] | null | Add link to examples or screenshots on readme | https://api.github.com/repos/dataarts/dat.gui/issues/317/comments | 0 | 2022-06-07T15:19:16Z | 2022-06-07T15:19:16Z | https://github.com/dataarts/dat.gui/issues/317 | 1,263,469,360 | 317 |
[
"dataarts",
"dat.gui"
] | When you want to change the number by inputting another number in the input field (nextto the slider), and you select the number to be able to type over it (by dragging the mouse over it, as is custom for selecting text), the number changes because your mouse moves during selecting, just as if the drag area of the slid... | When dragging over input box, number is changed as if dragging over slider. | https://api.github.com/repos/dataarts/dat.gui/issues/316/comments | 0 | 2022-04-29T08:27:02Z | 2022-04-29T08:27:02Z | https://github.com/dataarts/dat.gui/issues/316 | 1,220,219,390 | 316 |
[
"dataarts",
"dat.gui"
] | I have a pause/play button as a controller inside gui, but I am not sure if this is the right code for changing its value (pause vs play) when clicked.
I didn't find any function parameters on the function itself or onChange function. So, is this it or is there better?
`gui.__controllers[0].__li.querySelector(".pr... | How to change a button's value when clicked? | https://api.github.com/repos/dataarts/dat.gui/issues/315/comments | 0 | 2022-04-11T14:59:27Z | 2022-04-11T14:59:27Z | https://github.com/dataarts/dat.gui/issues/315 | 1,200,102,935 | 315 |
[
"dataarts",
"dat.gui"
] | I am trying to make my own modifications...but...
When i run the build command i get this error. Very much noob at node and npm....
```
✘ mba@mba-ThinkPad-T450s ~/dat.gui master ± npm run build kuber... | Unable to build using README instructions | https://api.github.com/repos/dataarts/dat.gui/issues/314/comments | 1 | 2022-03-20T15:54:05Z | 2022-03-21T09:03:27Z | https://github.com/dataarts/dat.gui/issues/314 | 1,174,594,453 | 314 |
[
"dataarts",
"dat.gui"
] | When I call:
```javascript
gui.removeFolder(this.playerId);
```
or
```javascript
folder.removeFolder('subfolder');
```
I get the error:
> Uncaught TypeError: folder.domElement is undefined
I'm adding folders and subfolders like so:
```javascript
this.playerFolder = this.scene.gui.addFolder(thi... | gui.removeFolder gives a Uncaught TypeError: folder.domElement is undefined error | https://api.github.com/repos/dataarts/dat.gui/issues/313/comments | 0 | 2022-03-08T17:31:43Z | 2022-03-08T17:34:08Z | https://github.com/dataarts/dat.gui/issues/313 | 1,162,931,133 | 313 |
[
"dataarts",
"dat.gui"
] | ` const saoFolder = gui.addFolder('SAO');
saoFolder.add(saoParams, 'enabled');
saoFolder.add(saoParams, 'bias', -2, 2);
saoFolder.add(saoParams, 'intensity', 0, 1.0);`
Fields that are created are named after property. Can i set them to a custom string?
I want to have string variable for... | Is there a way to set strings? | https://api.github.com/repos/dataarts/dat.gui/issues/312/comments | 3 | 2022-02-03T10:03:25Z | 2023-08-02T21:39:08Z | https://github.com/dataarts/dat.gui/issues/312 | 1,122,882,193 | 312 |
[
"dataarts",
"dat.gui"
] | Hello , due to lack of time i implemented three js in react the primitive way, set route for it and works fine untill i switch to another link.
const Modeling = () => {
const mountRef = useRef(null);
useEffect(() => {
three.js codee
)}
return (
<div ref = {mountRef}>
<div id = "webgl">
</div>
</di... | dat.gui is present after leaving the page | https://api.github.com/repos/dataarts/dat.gui/issues/311/comments | 1 | 2022-01-09T19:19:18Z | 2022-05-12T22:01:39Z | https://github.com/dataarts/dat.gui/issues/311 | 1,097,279,205 | 311 |
[
"dataarts",
"dat.gui"
] | Trying to resize the controls when first shown doesn't seem to be working.
It works fine after you click close and then open controls again.
| Resize not working when controls first shown | https://api.github.com/repos/dataarts/dat.gui/issues/310/comments | 0 | 2021-11-24T15:37:59Z | 2021-11-24T15:37:59Z | https://github.com/dataarts/dat.gui/issues/310 | 1,062,576,526 | 310 |
[
"dataarts",
"dat.gui"
] | Is it possible to disable the "close controls" button at the bottom of the GUI? I have `autoplace` set to `false` and want the GUI to always be visible, so I don't want the button to be displayed at all.
Screenshot for reference
 => {
useEffect(() =>... | Error: window is not defined | https://api.github.com/repos/dataarts/dat.gui/issues/305/comments | 5 | 2021-08-20T02:58:17Z | 2024-04-25T14:17:14Z | https://github.com/dataarts/dat.gui/issues/305 | 975,212,860 | 305 |
[
"dataarts",
"dat.gui"
] | I tried to follow the tutorial of Chris Courses ; https://www.youtube.com/watch?v=VNmTubIDZOY&t=599s, but I was not able to run dat.gui correctly. As soon as i enter to comand - import * as dat from 'dat.gui' - my sin curve on my browser disappears and vs code gives me the coment that; 'dat' is decleared but its value ... | Value of dat.gui can not be read | https://api.github.com/repos/dataarts/dat.gui/issues/304/comments | 0 | 2021-08-11T16:03:54Z | 2021-08-11T16:03:54Z | https://github.com/dataarts/dat.gui/issues/304 | 966,994,227 | 304 |
[
"dataarts",
"dat.gui"
] | Hi.dat-gui is a great project.
If anyone is interested, I will publish the code.
I have merged several pull requests and added new controllers and features.

to

| Example website down :( | https://api.github.com/repos/dataarts/dat.gui/issues/301/comments | 1 | 2021-07-12T05:29:58Z | 2021-07-12T05:31:09Z | https://github.com/dataarts/dat.gui/issues/301 | 941,685,947 | 301 |
[
"dataarts",
"dat.gui"
] | I read the API documentation and made several unsuccessful try...
Please help. Thank you. | How to make an element readonly? | https://api.github.com/repos/dataarts/dat.gui/issues/300/comments | 0 | 2021-06-08T23:16:46Z | 2021-06-08T23:16:46Z | https://github.com/dataarts/dat.gui/issues/300 | 915,628,842 | 300 |
[
"dataarts",
"dat.gui"
] | I have to destroy and recreate the dat.GUI to change text language.
I use the destroy() method.
When I look at the chrome dev tools, the number of window.'resize' listeners from dat.GUI doubles each time and the memory usage increases.
I can not find a way to avoid this or destroy the listeners.
| dat.GUI destroy() does not remove window resize listener | https://api.github.com/repos/dataarts/dat.gui/issues/299/comments | 0 | 2021-06-06T10:17:01Z | 2021-06-06T11:15:07Z | https://github.com/dataarts/dat.gui/issues/299 | 912,766,855 | 299 |
[
"dataarts",
"dat.gui"
] | Yesterday there was a new npm report on dat.gui, which states that dat.gui would result in a severity vulnerability (would get a warning message after using "npm i dat.gui" command). Can anyone explain more about this warning?
https://www.npmjs.com/advisories/1701 | Regular Expression Denial of Service (ReDoS) | https://api.github.com/repos/dataarts/dat.gui/issues/298/comments | 9 | 2021-05-11T16:14:01Z | 2022-02-19T04:38:54Z | https://github.com/dataarts/dat.gui/issues/298 | 887,765,483 | 298 |
[
"dataarts",
"dat.gui"
] | When updating the min and max values after a numeric slider control has been created, the slider updates appropriately with the new limits, but the input field continues to restrict the values to the initial min and max.
Here is a quick fiddle.
https://jsfiddle.net/ahqpmzLk/
Try inputting a number over 20 and it... | Numeric input does not update min and max values | https://api.github.com/repos/dataarts/dat.gui/issues/294/comments | 1 | 2021-05-04T02:00:29Z | 2021-05-30T22:18:43Z | https://github.com/dataarts/dat.gui/issues/294 | 875,038,864 | 294 |
[
"dataarts",
"dat.gui"
] | Uncaught TypeError: Cannot set property 'dat' of undefined
at VM250 dat.gui.min.js:13
at VM250 dat.gui.min.js:13
I am assuming the problem lies in this part of the code where `e.dat = {}`
```
!function(e, t) {
"object" == typeof exports && "undefined" != typeof module ? t(exports) : "function" =... | Uncaught TypeError: Cannot set property 'dat' of undefined | https://api.github.com/repos/dataarts/dat.gui/issues/292/comments | 5 | 2021-04-19T14:13:36Z | 2021-04-20T03:15:54Z | https://github.com/dataarts/dat.gui/issues/292 | 861,355,450 | 292 |
[
"dataarts",
"dat.gui"
] | My use case is this:
`folder.add(settings, 'numColors').min(1).max(101).step(2).name('Number of colors');`
where I want the number of colors to be an odd number.
Once I change the slider in the GUI thou, the number will be changed to an even number.
This appears to be the relevant code segment:
https://g... | Step should be based on the minimum and or maximum values | https://api.github.com/repos/dataarts/dat.gui/issues/291/comments | 0 | 2021-04-04T13:51:49Z | 2021-04-04T13:51:49Z | https://github.com/dataarts/dat.gui/issues/291 | 849,879,340 | 291 |
[
"dataarts",
"dat.gui"
] | It looks like the same CSS is being injected into the `head` of the page **twice** due to the following lines of code:
1. https://github.com/dataarts/dat.gui/blob/master/rollup.config.js#L45
2. https://github.com/dataarts/dat.gui/blob/master/src/dat/gui/GUI.js#L30
```js
var styleSheet = ___$insertStyle( ".dg ul... | CSS Injected Twice Into Head | https://api.github.com/repos/dataarts/dat.gui/issues/290/comments | 1 | 2021-03-07T15:27:04Z | 2021-03-16T21:00:38Z | https://github.com/dataarts/dat.gui/issues/290 | 823,943,672 | 290 |
[
"dataarts",
"dat.gui"
] | http://workshop.chromeexperiments.com/examples/gui
No idea if that's just a temporary server issue but if not, maybe it would be good to move it to dataarts.github.io/dat.gui? | The Live site (tutorial) is down | https://api.github.com/repos/dataarts/dat.gui/issues/289/comments | 5 | 2021-03-02T08:45:34Z | 2021-04-19T17:03:45Z | https://github.com/dataarts/dat.gui/issues/289 | 819,790,004 | 289 |
[
"dataarts",
"dat.gui"
] | Hi! Have just get these problems: (Tried .min.js, .js
Uncaught SyntaxError: Unexpected token '<'
script.js:11
Uncaught ReferenceError: dat is not defined
at window.onload (script.js:11)

 {
const i = interpret(this.value);
if (i !== false) {
_this.__color.__state = i;
_this.setValue(_this.__... | ColorController: onFinishChange is not called when editing the color text field | https://api.github.com/repos/dataarts/dat.gui/issues/286/comments | 0 | 2020-12-27T19:03:03Z | 2021-02-03T07:46:51Z | https://github.com/dataarts/dat.gui/issues/286 | 775,091,285 | 286 |
[
"dataarts",
"dat.gui"
] | 
Please add parameters and what this function should return to the documentation | How can I find out what parameters a specified function takes? | https://api.github.com/repos/dataarts/dat.gui/issues/285/comments | 2 | 2020-12-17T18:21:34Z | 2021-04-23T16:08:59Z | https://github.com/dataarts/dat.gui/issues/285 | 770,268,149 | 285 |
[
"dataarts",
"dat.gui"
] | show user-defined help text when hovering over the name of a control | feature request: optional help text on controls | https://api.github.com/repos/dataarts/dat.gui/issues/282/comments | 1 | 2020-12-03T06:07:03Z | 2021-06-28T13:27:19Z | https://github.com/dataarts/dat.gui/issues/282 | 755,897,888 | 282 |
[
"dataarts",
"dat.gui"
] | First link in README.md is http://workshop.chromeexperiments.com/examples/gui which gives me the error: "Go 1.9 is no longer available. Please refer to https://goo.gl/aESk5L for more information." which is https://cloud.google.com/appengine/docs/deprecations. It worked a month ago? | Tutorial broken because "Go 1.9 is no longer available" | https://api.github.com/repos/dataarts/dat.gui/issues/281/comments | 4 | 2020-10-30T04:16:51Z | 2021-04-19T17:04:02Z | https://github.com/dataarts/dat.gui/issues/281 | 732,868,623 | 281 |
[
"dataarts",
"dat.gui"
] | I am using dat.gui on MorphTargets . By Default GUI takes 0 as min and 1 as max , I want to set 10 as the min value and 20 . | Customizing Min and Max Values | https://api.github.com/repos/dataarts/dat.gui/issues/280/comments | 1 | 2020-10-20T05:26:35Z | 2020-10-20T08:00:14Z | https://github.com/dataarts/dat.gui/issues/280 | 725,212,888 | 280 |
[
"dataarts",
"dat.gui"
] | Type of Issue
Potential Regex Denial of Service (ReDoS)
Description
The vulnerable regular expression is located in
https://github.com/dataarts/dat.gui/blob/51d1a37b00326c232f34d9b80dc6dea2bec8595b/src/dat/color/interpret.js#L61
https://github.com/dataarts/dat.gui/blob/51d1a37b00326c232f34d9b80dc6dea2bec8595... | Regular Expression Denial of Service (ReDoS) in dat.gui | https://api.github.com/repos/dataarts/dat.gui/issues/278/comments | 0 | 2020-10-06T14:39:08Z | 2021-06-01T16:12:31Z | https://github.com/dataarts/dat.gui/issues/278 | 715,740,882 | 278 |
[
"dataarts",
"dat.gui"
] | Can GUI be inserted into an assigned element other than document.body? | How to display GUI panel when other dom element is on browser full screen mode? | https://api.github.com/repos/dataarts/dat.gui/issues/277/comments | 0 | 2020-09-03T09:20:09Z | 2020-09-03T09:20:53Z | https://github.com/dataarts/dat.gui/issues/277 | 691,798,829 | 277 |
[
"dataarts",
"dat.gui"
] | I've tried the css tricks, but it just wont go away :(
```
*:focus {
-webkit-tap-highlight-color: transparent !important;
outline: none !important;
}
``` | How to get rid of blue highlight that appears on mobile tap/touch? | https://api.github.com/repos/dataarts/dat.gui/issues/276/comments | 0 | 2020-08-23T12:37:25Z | 2020-08-23T12:37:25Z | https://github.com/dataarts/dat.gui/issues/276 | 684,175,862 | 276 |
[
"dataarts",
"dat.gui"
] | Go 1.9 is no longer available. Please refer to https://goo.gl/aESk5L for more information. | Tutorial website is down | https://api.github.com/repos/dataarts/dat.gui/issues/275/comments | 10 | 2020-08-06T10:54:40Z | 2021-10-16T21:09:07Z | https://github.com/dataarts/dat.gui/issues/275 | 674,221,860 | 275 |
[
"dataarts",
"dat.gui"
] | I frequently like to use dat.gui in small experiments on my local machine. I'd love to not need to have a package manager to install/build/configure dat.gui for these fast experiments.
Here is how I'd like to use dat.gui:
```html
<script type="module">
import dat from 'https://cdn.jsdelivr.net/gh/dataarts/d... | a pure es module import would be fantastic | https://api.github.com/repos/dataarts/dat.gui/issues/273/comments | 13 | 2020-05-28T17:03:06Z | 2020-05-29T00:29:28Z | https://github.com/dataarts/dat.gui/issues/273 | 626,670,385 | 273 |
[
"dataarts",
"dat.gui"
] | Adding `.listen()` to any controller calls updateDisplays [GUI.js#L865](https://github.com/dataarts/dat.gui/blob/master/src/dat/gui/GUI.js#L865) which in turn calls `requestAnimationFrame` [GUI.js#L1400](https://github.com/dataarts/dat.gui/blob/master/src/dat/gui/GUI.js#L1400) at what seems to be the polling interval.
... | listen() causes excessive animation requests | https://api.github.com/repos/dataarts/dat.gui/issues/272/comments | 1 | 2020-05-26T23:54:38Z | 2020-07-23T17:31:32Z | https://github.com/dataarts/dat.gui/issues/272 | 625,272,613 | 272 |
[
"dataarts",
"dat.gui"
] | I'm working with nextjs and threejs.
My configuration is:
import * as dat from "dat.gui";
const gui= new dat.GUI();
gui.add(settings, "colorful");
gui.add(settings, "zoom");
gui.add(settings, "random"); | ReferenceError: window is not defined | https://api.github.com/repos/dataarts/dat.gui/issues/271/comments | 4 | 2020-05-08T12:15:57Z | 2023-05-25T15:34:52Z | https://github.com/dataarts/dat.gui/issues/271 | 614,706,451 | 271 |
[
"dataarts",
"dat.gui"
] | Is it possible to change the "Close Controls" text? (i.e.: for translations)
This should apply to the "Open Controls" text too.
I have tried to:
```js
gui.__closeButton.innerText = "xxx"
```
But if you click on it and then you open it back again, the text goes back to "Close Controls". | How can I change "Close Controls" text? | https://api.github.com/repos/dataarts/dat.gui/issues/270/comments | 2 | 2020-05-03T18:29:35Z | 2022-10-07T13:27:16Z | https://github.com/dataarts/dat.gui/issues/270 | 611,476,298 | 270 |
[
"dataarts",
"dat.gui"
] | It's great to see this wonderful library getting updates again, though I've noticed the change log hasn't been updated in two years.
Any chance it could be updated with the next release(s)? | Change log out of date | https://api.github.com/repos/dataarts/dat.gui/issues/268/comments | 1 | 2020-04-23T12:46:42Z | 2022-02-19T04:40:09Z | https://github.com/dataarts/dat.gui/issues/268 | 605,503,730 | 268 |
[
"dataarts",
"dat.gui"
] | Hello!
The ability of adding a display formatter function for a controller would be extremely helpful when working with real units, like meters, seconds etc..
That is, adding a function which takes a boolean/number/string, and returns the string to display. For example:
`
gui.add(params, 'distanceToTarget').onF... | Feature request: Display formatter | https://api.github.com/repos/dataarts/dat.gui/issues/266/comments | 1 | 2020-04-09T01:10:28Z | 2020-05-28T16:51:53Z | https://github.com/dataarts/dat.gui/issues/266 | 596,953,510 | 266 |
[
"dataarts",
"dat.gui"
] | It would be great to have a date/calendar input controller.
Something like:

| Feature request: calendar controller | https://api.github.com/repos/dataarts/dat.gui/issues/263/comments | 1 | 2020-03-30T09:08:09Z | 2020-09-17T11:06:47Z | https://github.com/dataarts/dat.gui/issues/263 | 590,121,033 | 263 |
[
"dataarts",
"dat.gui"
] | When Initializing the control panel with the `closed` option set to `true`, the resulting control panel will be closed, but the label on the button to open it will still say "Close Controls".
See https://codesandbox.io/s/busy-edison-xv05i for a demo. | Initializing the GUI closed, results in the Button labeled "Close Controls" | https://api.github.com/repos/dataarts/dat.gui/issues/261/comments | 2 | 2020-02-29T17:45:00Z | 2024-03-23T19:14:09Z | https://github.com/dataarts/dat.gui/issues/261 | 573,356,088 | 261 |
[
"dataarts",
"dat.gui"
] | On version 0.5.1 the gui and stuff within it opened with a delay, but then it vanished in the next versions. | Is it possible to change the speed at which the gui and things within it open? | https://api.github.com/repos/dataarts/dat.gui/issues/260/comments | 2 | 2020-02-29T04:22:58Z | 2020-02-29T19:12:42Z | https://github.com/dataarts/dat.gui/issues/260 | 573,160,877 | 260 |
[
"dataarts",
"dat.gui"
] | It is relatively easy to hide/show folders with `dat.gui`. You just need to get to the `__folders` attribute:
([online example in jsfiddle.net](https://jsfiddle.net/Peque/vwn93h1s/))
```javascript
import { GUI } from "https://unpkg.com/three@0.112.1/examples/jsm/libs/dat.gui.module.js";
var gui;
var settings... | Feature request: easy way to hide controller | https://api.github.com/repos/dataarts/dat.gui/issues/259/comments | 0 | 2020-02-26T18:43:33Z | 2020-04-04T05:53:07Z | https://github.com/dataarts/dat.gui/issues/259 | 571,581,329 | 259 |
[
"dataarts",
"dat.gui"
] | It seems the documentation names a function [`.isClockwise()`](https://threejs.org/docs/index.html#api/en/extras/ShapeUtils.isClockwise) while the source code is written as [`.isClockWise()`](https://github.com/mrdoob/three.js/blob/45418089bd5633e856384a8c0beefced87143334/src/extras/ShapeUtils.js#L26).
Note the diff... | Inconsistency between API and documentation | https://api.github.com/repos/dataarts/dat.gui/issues/258/comments | 1 | 2020-01-22T22:17:22Z | 2020-01-22T22:54:02Z | https://github.com/dataarts/dat.gui/issues/258 | 553,827,031 | 258 |
[
"dataarts",
"dat.gui"
] | Hi,
I've been using dat.gui and wrote a code below.
```js
gui.add(control, 'thickness', 1, 3).onChange(() => {
alert('a')
})
```
As a result, the browser became to show the alert continuously, and it became impossible to break the loop except closing the tab of the browser.
Also, I tried to make a dea... | loses control when alert | https://api.github.com/repos/dataarts/dat.gui/issues/257/comments | 0 | 2019-12-15T17:06:52Z | 2020-04-04T05:54:38Z | https://github.com/dataarts/dat.gui/issues/257 | 538,078,347 | 257 |
[
"dataarts",
"dat.gui"
] | [Here's](https://jsfiddle.net/Sairony/kgxyno2L/37/) a fiddle with the problem, pasted here for completeness sake:
```
var gui = new dat.GUI( );
var testObj = { 'options': [] }
// Default can't be deduced from testObj.options as with other values?
gui.add( testObj, 'options', [] ).listen();
testObj.options... | Options doesn't work with listen() nor updateDisplay() and can't deduce value from member | https://api.github.com/repos/dataarts/dat.gui/issues/256/comments | 1 | 2019-11-20T16:22:24Z | 2020-09-14T00:05:48Z | https://github.com/dataarts/dat.gui/issues/256 | 525,913,197 | 256 |
[
"dataarts",
"dat.gui"
] | Would be nice if the intended range was possible to supply in addColor. | Assumes 0..255 per component for THREE.Color instead of 0..1 | https://api.github.com/repos/dataarts/dat.gui/issues/255/comments | 0 | 2019-11-15T16:43:18Z | 2020-04-04T05:54:51Z | https://github.com/dataarts/dat.gui/issues/255 | 523,575,365 | 255 |
[
"dataarts",
"dat.gui"
] | Hi , I need to take the dat.gui panel in a new windows , or make it draggable ?
Do you have any idea ?
Thanks to make good thongs like dat.gui | Dat.gui in a new windows ? | https://api.github.com/repos/dataarts/dat.gui/issues/254/comments | 3 | 2019-10-07T06:46:23Z | 2019-10-08T08:05:04Z | https://github.com/dataarts/dat.gui/issues/254 | 503,262,237 | 254 |
[
"dataarts",
"dat.gui"
] | I'm using the color picker, but I seem to not be able to enter the color manually? I tried various different formatting styles but every time I press Enter - the value reverts to the way it was before.
Is this a bug/feature? I'd like to have the option to manually enter color values when needed AND use the color pic... | Can't change color manually? | https://api.github.com/repos/dataarts/dat.gui/issues/253/comments | 1 | 2019-10-04T00:49:42Z | 2020-04-04T05:55:11Z | https://github.com/dataarts/dat.gui/issues/253 | 502,368,539 | 253 |
[
"dataarts",
"dat.gui"
] | https://github.com/dataarts/dat.gui/blob/096993eb6eecad0481b03c40862a11a4ab0db8e9/build/dat.gui.module.js#L3 | update the banner? | https://api.github.com/repos/dataarts/dat.gui/issues/252/comments | 1 | 2019-09-27T07:27:08Z | 2020-04-04T05:34:49Z | https://github.com/dataarts/dat.gui/issues/252 | 499,283,226 | 252 |
[
"dataarts",
"dat.gui"
] | It would be good to be able to add tooltips to menu elements and buttons see:
https://stackoverflow.com/questions/27362914/how-to-add-tooltips-to-dat-gui
| Tooltip option | https://api.github.com/repos/dataarts/dat.gui/issues/251/comments | 0 | 2019-08-17T08:29:14Z | 2020-04-04T05:53:07Z | https://github.com/dataarts/dat.gui/issues/251 | 481,863,304 | 251 |
[
"dataarts",
"dat.gui"
] | I've made an experimental fork of dat.GUI, adding support for MIDI controllers.
I've released the code here: https://github.com/gregsadetsky/dat.gui.midi
Would there be interest to add this feature into the main branch? I'd refactor the code (right now, it mainly lives in GUI.js) and would be happy to provide doc... | [Feature Request (with working code)] MIDI support | https://api.github.com/repos/dataarts/dat.gui/issues/249/comments | 0 | 2019-07-07T03:03:43Z | 2020-04-04T05:53:07Z | https://github.com/dataarts/dat.gui/issues/249 | 464,909,653 | 249 |
[
"dataarts",
"dat.gui"
] | When working with nested folders (i.e a folder within another folder) there seems to be an issue where if the screen is small and the gui is therefore scrolling that the length of the scroll does not expand and part of the content gets cut off. | Nested Folders Layout | https://api.github.com/repos/dataarts/dat.gui/issues/248/comments | 0 | 2019-07-05T16:25:45Z | 2020-04-04T05:56:48Z | https://github.com/dataarts/dat.gui/issues/248 | 464,707,625 | 248 |
[
"dataarts",
"dat.gui"
] | After I make `datGui.destroy()` it still scans for binded objects
```
let node = {};
let value = 123;
Object.defineProperty(node, "value", {
get: function () {
console.log("Scan value");
return value;
},
set: function (v) {
value = v;
},
});
// ...
datGui.add(... | Destroy listeners | https://api.github.com/repos/dataarts/dat.gui/issues/247/comments | 4 | 2019-06-27T12:25:08Z | 2020-07-23T15:05:44Z | https://github.com/dataarts/dat.gui/issues/247 | 461,498,593 | 247 |
[
"dataarts",
"dat.gui"
] | Hi, I have an Angular application that uses dat.gui through npm and I noticed that in a project that I have wherever I try to use the color picker it doesn't show up correctly, but instead it is bigger than it should.
I mentioned that it is an Angular application and it was installed with npm because in another simple... | Color picker overflowing the UI | https://api.github.com/repos/dataarts/dat.gui/issues/244/comments | 7 | 2019-06-21T12:51:08Z | 2019-06-25T12:22:00Z | https://github.com/dataarts/dat.gui/issues/244 | 459,181,946 | 244 |
[
"dataarts",
"dat.gui"
] | https://github.com/dataarts/dat.gui/blob/743a16b398c407f9ce3e1919a7f8e934c7c93f65/src/dat/utils/common.js#L152
async functions returns _"[object AsyncFunction]"_
This code fails:
```js
let obj = {
async f() {}
};
gui.add(obj, 'f');
``` | async functions cannot be added to dat.gui | https://api.github.com/repos/dataarts/dat.gui/issues/240/comments | 3 | 2019-06-19T18:42:05Z | 2019-06-25T02:51:39Z | https://github.com/dataarts/dat.gui/issues/240 | 458,169,710 | 240 |
[
"dataarts",
"dat.gui"
] | suppose we have multiple gui, i think it can be a good idea to natively name controler frame with name.
```javascript
closed: {
get: function get$$1() {
return params.closed;
},
set: function set$$1(v) {
params.closed = v;
if (params.closed) {
dom.addClas... | name close open [suggest] | https://api.github.com/repos/dataarts/dat.gui/issues/235/comments | 1 | 2019-06-01T20:31:25Z | 2020-04-04T05:53:06Z | https://github.com/dataarts/dat.gui/issues/235 | 451,121,836 | 235 |
[
"dataarts",
"dat.gui"
] | Hi,
since this module is likely to be used just during development, is there any official way to exclude it from a production build? | Exclude from production build | https://api.github.com/repos/dataarts/dat.gui/issues/234/comments | 2 | 2019-05-23T04:11:45Z | 2019-05-23T05:50:16Z | https://github.com/dataarts/dat.gui/issues/234 | 447,442,230 | 234 |
[
"dataarts",
"dat.gui"
] | <img src="https://i.loli.net/2019/05/07/5cd129da0580b.png" />
in file `/build/dat.gui.module.js`.
`css.reject()` & `___$insertStyle()` will both execute `document.head.appendChild(style)`.
`___$insertStyle()` from `import styleSheet from './style.scss';`
| css.reject & ___$insertStyle() duplicate definition in `/build/dat.gui.module.js` | https://api.github.com/repos/dataarts/dat.gui/issues/233/comments | 2 | 2019-05-07T06:47:50Z | 2022-09-05T01:12:01Z | https://github.com/dataarts/dat.gui/issues/233 | 441,066,846 | 233 |
[
"dataarts",
"dat.gui"
] | I am probably just using this incorrectly.
I have some function ctrlChanged that does not return anything:
`function ctrlChanged(rule: Rule, paramNum: number, newValue: number) {
...
}`
I'm calling onFinishChange like this:
`let ctrl1 = gui.add(text, 'prop1');
ctrl1.name(rule.paramNames[0]);
ct... | onFinishChange not called | https://api.github.com/repos/dataarts/dat.gui/issues/228/comments | 0 | 2019-04-19T23:55:00Z | 2019-04-20T02:08:31Z | https://github.com/dataarts/dat.gui/issues/228 | 435,333,863 | 228 |
[
"dataarts",
"dat.gui"
] | Hi,
I used this package in the browser and it works great.
When I realized that it is also available as npm package. I was wondering why and how we can use it on the server side.
I also saw this code in github project page:
```
// CommonJS:
const dat = require('dat.gui');
// ES6:
import * as dat from ... | Why does this library has npm package? | https://api.github.com/repos/dataarts/dat.gui/issues/227/comments | 5 | 2019-04-17T08:05:15Z | 2019-04-18T17:41:10Z | https://github.com/dataarts/dat.gui/issues/227 | 434,146,475 | 227 |
[
"dataarts",
"dat.gui"
] | Hi! I'm attempting to add the functionality of renaming a preset to the GUI, but am running into some problems. My first form of approach was duplicating the preset under a different name and then deleting the old one, but this seems inefficient and I feel like there are better ways to approach this. Any suggestions?
... | [Feature Request] Rename preset button + No duplicate names | https://api.github.com/repos/dataarts/dat.gui/issues/222/comments | 6 | 2019-04-05T22:08:10Z | 2019-05-15T17:43:42Z | https://github.com/dataarts/dat.gui/issues/222 | 429,952,566 | 222 |
[
"dataarts",
"dat.gui"
] | Is there an in-build multiple selection menu? | multiple selection menu | https://api.github.com/repos/dataarts/dat.gui/issues/221/comments | 0 | 2019-04-03T01:11:29Z | 2019-04-05T18:50:38Z | https://github.com/dataarts/dat.gui/issues/221 | 428,514,692 | 221 |
[
"dataarts",
"dat.gui"
] | TypeScript support? | https://api.github.com/repos/dataarts/dat.gui/issues/219/comments | 2 | 2019-04-01T12:22:13Z | 2019-04-01T17:18:23Z | https://github.com/dataarts/dat.gui/issues/219 | 427,674,267 | 219 | |
[
"dataarts",
"dat.gui"
] | Inside OptionController by using the HTML DOM option object and specifically the inherited setAttribute method any value in a list of possible options that should be a number will subsequently be converted into a string by the native implementation of setAttribute method.
https://github.com/dataarts/dat.gui/blob/8c... | OptionController value coercing number to string | https://api.github.com/repos/dataarts/dat.gui/issues/217/comments | 6 | 2019-03-29T15:04:55Z | 2020-04-04T05:59:29Z | https://github.com/dataarts/dat.gui/issues/217 | 427,032,029 | 217 |
[
"dataarts",
"dat.gui"
] | I am working on a three.js and dat.gui implementation, and was wondering if anyone knows of a way to delete a preset after it is created? I attached an image of the basic dat.GUI preset implementation, but currently there is no option to delete a created preset. Additionally, if anyone has any knowledge on how to save ... | Delete GUI Preset | https://api.github.com/repos/dataarts/dat.gui/issues/215/comments | 0 | 2019-03-21T18:43:00Z | 2019-04-05T21:43:43Z | https://github.com/dataarts/dat.gui/issues/215 | 423,885,642 | 215 |
[
"dataarts",
"dat.gui"
] | Is this project using continuous integration services (e.g., Travis-CI or Jenkings)? Or has it used at any point of its lifetime? | [QUESTION] Where I can find the CI service? | https://api.github.com/repos/dataarts/dat.gui/issues/214/comments | 1 | 2019-03-21T12:05:08Z | 2019-03-21T15:31:43Z | https://github.com/dataarts/dat.gui/issues/214 | 423,696,386 | 214 |
[
"dataarts",
"dat.gui"
] | Just found out that this line below is breaking the `listen()` method on the `OptionController`
Try changing the value of the items in an attached array and notice that the control doesn't update its value. After commenting out this line everything works as expected
https://github.com/dataarts/dat.gui/blob/8cd1b4... | Listen() does not work on OptionController more than once | https://api.github.com/repos/dataarts/dat.gui/issues/212/comments | 1 | 2019-03-08T23:16:47Z | 2019-04-08T20:26:13Z | https://github.com/dataarts/dat.gui/issues/212 | 418,994,439 | 212 |
[
"dataarts",
"dat.gui"
] | Is there a plan for user to define width option to any type(e.g 100%) rather than 'px'. | Gui element width option | https://api.github.com/repos/dataarts/dat.gui/issues/210/comments | 1 | 2019-01-30T15:26:25Z | 2019-02-01T05:24:43Z | https://github.com/dataarts/dat.gui/issues/210 | 404,823,665 | 210 |
[
"dataarts",
"dat.gui"
] | in this example
```
var obj = {
explode: function () {
alert('Bang!');
},
}
gui.add(obj, 'explode').name('Explode');
```
Is it possible to pass a string to the function explode.. something like this?
```
var obj = {
explode: function (str) {
alert(str);
},
}
gui.add... | possible to pass parameter to a function? | https://api.github.com/repos/dataarts/dat.gui/issues/209/comments | 4 | 2019-01-27T19:27:09Z | 2019-01-28T00:32:18Z | https://github.com/dataarts/dat.gui/issues/209 | 403,585,888 | 209 |
[
"dataarts",
"dat.gui"
] | ## Bug description
According to [tutorial](http://workshop.chromeexperiments.com/examples/gui/#4--Color-Controllers), we can use `.addColor()` with following approach:
```javascript
var FizzyText = function() {
this.color0 = "#ffae23"; // CSS string
this.color1 = [ 0, 128, 255 ]; // RGB array
};
window... | Left border color won't change when a rgb() value passed to addColor | https://api.github.com/repos/dataarts/dat.gui/issues/208/comments | 0 | 2019-01-23T06:00:04Z | 2019-02-01T05:28:26Z | https://github.com/dataarts/dat.gui/issues/208 | 402,084,026 | 208 |
[
"dataarts",
"dat.gui"
] | ## Feature description
Currently, GUI will add one random color for each menu item's left border, I think it's more flexible to let user modify it by an API method, such as:
```
gui.borderColor('#fff');
``` | Customize GUI border-left color of each item | https://api.github.com/repos/dataarts/dat.gui/issues/207/comments | 1 | 2019-01-23T03:37:56Z | 2019-02-01T05:27:43Z | https://github.com/dataarts/dat.gui/issues/207 | 402,056,744 | 207 |
[
"dataarts",
"dat.gui"
] | Consider the following section of code
```javascript
const gui = new dat.GUI();
const params = {
x: 0
}
gui.add(params, 'x', -1, 1, 0.1).listen();
```
As expected, I am able to change the value of `x` by manipulating the slider. However, when I try to enter some text into the box next to the slider, I am u... | Unable to modify slider input field when "listen" is called | https://api.github.com/repos/dataarts/dat.gui/issues/206/comments | 4 | 2019-01-07T07:02:33Z | 2020-08-11T01:03:34Z | https://github.com/dataarts/dat.gui/issues/206 | 396,371,276 | 206 |
[
"dataarts",
"dat.gui"
] | According to the code https://github.com/dataarts/dat.gui/blob/a1547d0f21b6ec55512a7fadbe670f184c1e63a8/src/dat/controllers/Controller.js#L40 , the name of the property to manipulate is set to the same as the display name of the controller.
However, there are many situations that developers want to differentiate the... | Customize the display name of GUI's Controller | https://api.github.com/repos/dataarts/dat.gui/issues/203/comments | 2 | 2018-12-24T11:57:25Z | 2018-12-25T06:59:33Z | https://github.com/dataarts/dat.gui/issues/203 | 393,868,456 | 203 |
[
"dataarts",
"dat.gui"
] | here is my code.
```javascript
testControl = {
useLocalData: false, //是否使用本地假数据
};
let gui = new dat.GUI({
closed: true,
load: JSON,
});
gui.width = 265;
gui.remember(testControl);
gui.useLocalStorage = true;
gui.add(testControl, 'useLocalData');
```
... | new dat.GUI() closed option not work. | https://api.github.com/repos/dataarts/dat.gui/issues/202/comments | 3 | 2018-12-06T12:07:05Z | 2019-01-08T18:18:49Z | https://github.com/dataarts/dat.gui/issues/202 | 388,185,047 | 202 |
[
"dataarts",
"dat.gui"
] | Could you include a minified version of dat.gui.module.js in the distribution? I realize dat.gui.module.min.js may be a long name but it would be a nice addition.
There may be an issue with minifiers and es6 format. I use https://github.com/Rich-Harris/butternut's squash command. | Include minified version of the es6 module | https://api.github.com/repos/dataarts/dat.gui/issues/201/comments | 5 | 2018-10-27T03:58:47Z | 2019-01-05T00:42:08Z | https://github.com/dataarts/dat.gui/issues/201 | 374,603,136 | 201 |
[
"dataarts",
"dat.gui"
] | After I try to change the target object that the slider is controlling, the text field of the slider and the slider does not change together. See below:

The property of the target object is cha... | Slider and its text field get unlinked | https://api.github.com/repos/dataarts/dat.gui/issues/200/comments | 1 | 2018-10-26T16:38:38Z | 2019-01-07T16:37:39Z | https://github.com/dataarts/dat.gui/issues/200 | 374,461,254 | 200 |
[
"dataarts",
"dat.gui"
] | It seems like a simple addition which should require small changes on `Controller.js`.
Specifically, the [line 22](https://github.com/dataarts/dat.gui/blob/master/src/dat/controllers/Controller.js#L22) would need to be moved to the end of the `constructor` and changed to:
```
this.initialValue = this.getValue();... | Add support for ES6 Map. | https://api.github.com/repos/dataarts/dat.gui/issues/199/comments | 2 | 2018-10-25T17:51:32Z | 2019-01-05T00:28:24Z | https://github.com/dataarts/dat.gui/issues/199 | 374,060,695 | 199 |
[
"dataarts",
"dat.gui"
] | Originally filed @ https://bugzilla.mozilla.org/show_bug.cgi?id=1496355

```css
.dg .c select {
margin-top: 5px;
}
.dg li:not(.folder) {
cursor: auto;
height: 27px;
line-height: 27px;
overflow: hi... | Dropdowns clipped in Firefox on Ubuntu | https://api.github.com/repos/dataarts/dat.gui/issues/198/comments | 1 | 2018-10-11T14:33:32Z | 2023-02-18T20:00:01Z | https://github.com/dataarts/dat.gui/issues/198 | 369,151,259 | 198 |
[
"dataarts",
"dat.gui"
] | This is the simple to show that onChange is not called after setting min and max
```
<!DOCTYPE html>
<html>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.3/dat.gui.js"></script>
<script>
var gui = new dat.GUI();
var foo = {
value1: 42,
value2: 42
}
gui.add(... | onChange not working after setting min and max | https://api.github.com/repos/dataarts/dat.gui/issues/197/comments | 1 | 2018-10-09T04:11:03Z | 2018-10-09T15:18:27Z | https://github.com/dataarts/dat.gui/issues/197 | 368,033,727 | 197 |
[
"dataarts",
"dat.gui"
] | Renaming a folder does not appear to work:
var layerFolder = gui.addFolder('LAYER #2');
layerFolder.name = 'LAYER #3'
It throws: Uncaught ReferenceError: titleRowName is not defined
Pull request #120 does not appear to solve this issue.
| folder.name = "New name" fails with Uncaught ReferenceError: titleRowName is not defined | https://api.github.com/repos/dataarts/dat.gui/issues/196/comments | 1 | 2018-10-06T02:34:36Z | 2018-10-07T04:47:56Z | https://github.com/dataarts/dat.gui/issues/196 | 367,415,768 | 196 |
[
"dataarts",
"dat.gui"
] | Pressing the up/down arrow keys should step the value up/down. It isn't working for me in Chrome Version 68.0.3440.106 (Official Build) (64-bit)
Looks like the functionality was added here https://github.com/dataarts/dat.gui/commit/7048931536d716861d8cbe0f0ada21f1ffc45c52 | Up/down keys aren't working for number field | https://api.github.com/repos/dataarts/dat.gui/issues/195/comments | 0 | 2018-09-18T14:53:33Z | 2019-01-07T16:19:05Z | https://github.com/dataarts/dat.gui/issues/195 | 361,345,286 | 195 |
[
"dataarts",
"dat.gui"
] | Chrome complains with
> [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
due to
https://github.com/dataarts/dat.gui/blob/3f6f66d09c23314b32b03... | "Added non-passive event listener" warning in Chrome | https://api.github.com/repos/dataarts/dat.gui/issues/193/comments | 0 | 2018-08-28T22:20:58Z | 2019-01-07T16:20:17Z | https://github.com/dataarts/dat.gui/issues/193 | 354,925,823 | 193 |
[
"dataarts",
"dat.gui"
] | When I could not get listen() to work (listen()->onChange()-loop and not updating value) I found a workaround that I thought might be valuable to others having the same problem. Often I have an object with a list of parameters in presets. When selecting a preset name in a dropdown-controller I want to load that preset ... | Update multiple values from own preset object | https://api.github.com/repos/dataarts/dat.gui/issues/192/comments | 0 | 2018-08-21T09:30:33Z | 2020-04-04T05:59:50Z | https://github.com/dataarts/dat.gui/issues/192 | 352,458,446 | 192 |
[
"dataarts",
"dat.gui"
] | Hello,
dat.gui can already shows the value of a variable in real time, what about creating a curve of that value in real time?
In fact, there are people who got inspired by dat.gui here:
https://braitsch.github.io/ofxDatGui/
And you can see that they implemeted a Value Plotter and other interesting ways to visu... | [Feature Request] Value Plotters | https://api.github.com/repos/dataarts/dat.gui/issues/191/comments | 3 | 2018-07-15T11:05:16Z | 2019-04-15T21:45:18Z | https://github.com/dataarts/dat.gui/issues/191 | 341,312,437 | 191 |
[
"dataarts",
"dat.gui"
] | That's definitely NOT the documentation:
https://workshop.chromeexperiments.com/examples/gui/#1--Basic-Usage
Nor can be found on this link:
https://workshop.chromeexperiments.com/
| Where is the dat.gui documentation? | https://api.github.com/repos/dataarts/dat.gui/issues/188/comments | 3 | 2018-05-27T18:39:47Z | 2018-05-27T19:06:11Z | https://github.com/dataarts/dat.gui/issues/188 | 326,839,079 | 188 |
[
"dataarts",
"dat.gui"
] | Hi,
Is it possible to make dat.gui semi-transparent. I couldnt find any information on this online and was wondering how hard it would be to do | Possible to make the entire gui semi-transparent? | https://api.github.com/repos/dataarts/dat.gui/issues/187/comments | 1 | 2018-05-25T10:06:18Z | 2018-05-25T10:54:22Z | https://github.com/dataarts/dat.gui/issues/187 | 326,460,974 | 187 |
[
"dataarts",
"dat.gui"
] | Hi there! Just recently discovered this very cool utility! Thanks a lot for making it first of all!
I'm using 0.7.2 and I have a few comments/feedback/requests for the next version
It seems the closed: true parameter doesn't work. Whether I set the option to closed true or false the controls are always visible.
... | [feedback] more customization options and split modules | https://api.github.com/repos/dataarts/dat.gui/issues/185/comments | 6 | 2018-05-23T16:28:34Z | 2019-02-22T20:32:43Z | https://github.com/dataarts/dat.gui/issues/185 | 325,783,037 | 185 |
[
"dataarts",
"dat.gui"
] | Hello there, I found something that "could have been better" when using this library in TypeScript and wanted to let you know in case there was anything that could be improved on dat.gui's end.
As you may already know, there are type declarations provided for dat.gui in this repo: https://github.com/DefinitelyTyped/... | Difference in export style between build/dat.gui.js and build/dat.gui.module.js makes using TypeScript declarations harder | https://api.github.com/repos/dataarts/dat.gui/issues/183/comments | 8 | 2018-04-28T07:25:51Z | 2018-05-05T21:50:35Z | https://github.com/dataarts/dat.gui/issues/183 | 318,609,363 | 183 |
[
"dataarts",
"dat.gui"
] | In some cases, events created using document.createEvent are plain objects (on one machine in very specific, but reproducible scenarios).
In console output it looks like this:
```
s
{type: "click", initMouseEvent: ƒ}
```
I think document.createEvent is deprecated: https://developer.mozilla.org/en-US/docs/We... | fakeEvent creation sometime fails | https://api.github.com/repos/dataarts/dat.gui/issues/182/comments | 1 | 2018-03-28T12:11:40Z | 2019-01-07T16:21:49Z | https://github.com/dataarts/dat.gui/issues/182 | 309,340,132 | 182 |
[
"dataarts",
"dat.gui"
] | Consider adding support for an object containing explicit RGB(A) values. At present we can do this with hsv:
```
this.c1 = { h: 300, s: 0.3, v: 0.1 };
```
But we can't do this with RGB(A):
```
this.c1 = { r: 200, g: 200, b: 22 };
``` | Support RGB(A) obj in color controllers | https://api.github.com/repos/dataarts/dat.gui/issues/181/comments | 1 | 2018-03-15T14:12:45Z | 2019-07-10T22:09:31Z | https://github.com/dataarts/dat.gui/issues/181 | 305,568,994 | 181 |
[
"dataarts",
"dat.gui"
] | Took me a while to find out how to use the ES6 import style with dat.gui.
The README shows the npm + require() method, which didn't work for me (`dat is not a constructor` error) but I finally found the ES6 way to do it in the `tmp/es6.js` file (the `tmp` folder appeared after installing with `npm install dat.gui`).
... | Add ES6 import example in README? | https://api.github.com/repos/dataarts/dat.gui/issues/180/comments | 4 | 2018-03-14T10:53:02Z | 2018-04-28T21:13:55Z | https://github.com/dataarts/dat.gui/issues/180 | 305,109,154 | 180 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.