Lightweight controller library for JavaScript.
Go to file
dependabot[bot] fd764dae6c
Bump tough-cookie and node-sass
Removes [tough-cookie](https://github.com/salesforce/tough-cookie). It's no longer used after updating ancestor dependency [node-sass](https://github.com/sass/node-sass). These dependencies need to be updated together.


Removes `tough-cookie`

Updates `node-sass` from 4.13.1 to 9.0.0
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.13.1...v9.0.0)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
- dependency-name: node-sass
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 21:57:39 +00:00
build 0.7.9 2022-02-18 23:35:02 -05:00
src/dat Fix width on FunctionController property_name 2021-09-07 09:17:55 -04:00
tests docs: Fix a few typos 2021-10-31 23:36:04 +11:00
.babelrc Use Rollup for UMD and ES6 builds. 2018-01-20 21:08:15 -08:00
.gitignore Shorten localStorage check. 2018-04-28 14:11:28 -07:00
API.md Bump docs. 2019-03-29 21:43:20 -07:00
bower.json Remove deprecated .version from bower.json 2018-01-22 20:48:55 -08:00
example.html Fix width on FunctionController property_name 2021-09-07 09:17:55 -04:00
LICENSE Add Apache 2.0 License 2014-12-01 11:01:01 -08:00
licenseBanner.txt Update license banner (fixes #252) 2020-04-03 22:34:41 -07:00
package-lock.json Bump tough-cookie and node-sass 2023-08-09 21:57:39 +00:00
package.json 0.7.9 2022-02-18 23:35:02 -05:00
README.md Removed CHANGELOG.md 2022-02-16 19:50:10 -05:00
rollup.config.js Update license banner (fixes #252) 2020-04-03 22:34:41 -07:00
rollup.config.min.js Update license banner (fixes #252) 2020-04-03 22:34:41 -07:00

dat.GUI

A lightweight graphical user interface for changing variables in JavaScript.

Get started with dat.GUI by reading the API documentation.

Packaged Builds

The easiest way to use dat.GUI in your code is by using the built source at build/dat.gui.min.js. These built JavaScript files bundle all the necessary dependencies to run dat.GUI.

In your head tag, include the following code:

<script type="text/javascript" src="dat.gui.min.js"></script>

Installing from npm

$ npm install --save dat.gui
// CommonJS:
const dat = require('dat.gui');

// ES6:
import * as dat from 'dat.gui';

const gui = new dat.GUI();

Directory Contents

├── build - Compiled source code.
├── src - Source files.
└── tests - Tests.

Building your own dat.GUI

In the terminal, enter the following:

$ npm install
$ npm run build

npm scripts

  • npm run build - Build development and production version of scripts.
  • npm run dev - Build development version of script and watch for changes.

Working with Content Security Policy

If you're using a server with a Content Security Policy in place that blocks 'unsafe-inline', you will have problems when dat.gui.js tries to inject style information. To get around this, load 'build/dat.gui.css' as an external style sheet.

Changes

View the Change Log

Thanks

The following libraries / open-source projects were used in the development of dat.GUI: