2.0.0
The second major version of Tweakpane! Lots of refactoring, mainly for the plugin system, and some breaking changes.
Summary
Migration from 1.x
count
option ofaddMonitor()
was removed:
UsebufferSize
instead.- The first argument of the event handler was changed:
// 1.x pane.addInput(params, 'key').on('click', (value) => { console.log(value); }); // 2.0.0 pane.addInput(params, 'key').on('click', (ev) => { console.log(ev.value); });