Closed braebo closed 1 year ago
Yes. You can add an input with a registered plugin like other containers (the root pane and folders):
const pane = new Tweakpane.Pane();
pane.registerPlugin(TweakpaneEssentialsPlugin);
const t = pane.addTab({
pages: [{title: 'foo'}, {title: 'bar'}],
});
// Add an interval input from the essentials plugin
t.pages[0].addInput({foo: {min: 0, max: 100}}, 'foo', {min: 0, max: 100});
Feel free to reopen the issue if you have any updates.
Is it possible to register plugins for a
TabPageApi
? It seems theTabPageApi
is mostly identical to theFolderApi
but I haven't been able to add plugin inputs to it.