Core Components
TabPage
Contains a collection of Tweakpane controls to be presented as a single group inside a <TabGroup>
component.
Provides page
values to Tweakpane's addTab
method.
The name of this concept within the underlying vanilla JS Tweakpane API is page
, but it has been changed to TabPage
in Svelte Tweakpane UI for clarity its relationship to the <TabGroup>
component.
Usage outside of a <TabGroup>
component wouldn't make much sense, but in such cases the <TabPage>
will be implicitly wrapped in a <TabGroup>
and <Pane position="inline">
.
Count A: 0 Count B: 0
optional | |
Description | Text in the tab. |
---|---|
Type | string |
Default | 'Tab Page' |
optional | |
Description | Prevent interactivity and gray out the control. |
---|---|
Type | boolean |
Default | false |
bindableoptional | |
Description | Sets the page is the active tab. When bound it will indicate whether the tab is active. |
---|---|
Type | boolean |
Default | false |
optional | |
Description | Custom color scheme. |
---|---|
Type | Theme |
Default | undefined Inherits default Tweakpane theme equivalent to ThemeUtils.presets.standard , or the theme set with setGlobalDefaultTheme() .) |
Description | Any Tweakpane component, except a |
---|---|
Type | {} |