Interface: PanelPluginOptions
Defined in: panel/plugin.ts:19
The options of the settings panel plugin.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
closable? | readonly | boolean | Set to false to remove the Close button, so that the panel stays open. | panel/plugin.ts:37 |
container? | readonly | HTMLElement | The element that contains the panel. The default is a fixed box on the right side of the page. | panel/plugin.ts:31 |
expanded? | readonly | readonly string[] | The names of the sections that show their controls when the panel opens. The default is ['theme']. | panel/plugin.ts:35 |
hotkey? | readonly | string | The keyboard shortcut that opens and closes the panel, for example Alt+Shift+W. | panel/plugin.ts:23 |
launcher? | readonly | boolean | Set to true to show a button that opens the panel. | panel/plugin.ts:27 |
load? | readonly | TweakpaneLoader | The function that loads Tweakpane 4. The default imports the tweakpane package. | panel/plugin.ts:21 |
nonce? | readonly | string | The nonce of the Content Security Policy for the style elements of Tweakpane. | panel/plugin.ts:29 |
title? | readonly | string | The title of the panel. | panel/plugin.ts:33 |
urlParam? | readonly | string | The panel opens at start if the page URL has this query parameter. | panel/plugin.ts:25 |