0.2.4 • Published 3 years ago

tweakpane-plugin-interval v0.2.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

tweakpane-plugin-interval

Tweakpane plugin that provides a range slider control for an interval value.

Install

Browser

<script src="tweakpane.min.js"></script>
<scirpt src="tweakpane-plugin-interval.min.js"></script>
<script>
  const pane = new Tweakpane();
  // ...
</script>

Node.js

import Tweakpane from 'tweakpane';
import 'tweakpane-plugin-interval';

const pane = new Tweakpane();
// ...

Usage

const PARAMS = {
  range: {min: 20, max: 80},
};

const pane = new Tweakpane();

pane.addInput(PARAMS, 'range', {
  min: 0,
  max: 100,
  step: 1,
});

License

MIT License. See LICENSE.txt for more information.

0.2.4

3 years ago

0.2.3

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.2

3 years ago

0.1.0

3 years ago