expanded: the panel is open (default true); autoPostFrame: refresh after each frame (default
true); title: the title of the panel header, '' for no header (title)
OptionalundoManager: false | JSUndoManager
the undo manager, or false for none
Protected_Protected Optional_Protected_Protected Optional_ReadonlyconfigA folder shows its direct button children with the context-menu tag in a menu, from a ⋮ button in its header,
instead of in its body, as the blueprint renderer does. A button that also has the inline tag stays in the body.
Set false (before the folders render) to show all the buttons in the body.
Readonly InternalheaderReadonlymethodsOptionaltooltipThe tooltip hook of this renderer, or false for no tooltips; default: the static Tooltip of its class
ReadonlytypeStaticTooltipThe tooltip hook of the renderers that set no tooltip: set it here for every renderer, or on a renderer
class for those of that class (UiConfigRendererTweakpane.Tooltip = ...). Default: the native title
(titleTooltip). See UiTooltipHook.
The title in the header of the panel, 'Configuration' by default. An empty title hides the header, for an app that shows its own title row (see mountFolderActions), and opens the panel, since the header holds the button that folds it.
The tooltip hook that this renderer uses (tooltip, else the static Tooltip of its class), or none
Protected_The function that this renderer adds to config.uiRefresh (addRefreshListener). Default: queues a
refresh of the config in this renderer (addToRefreshQueue, postFrame when no mode is given).
Protected_Protected_Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Makes config.uiRefresh() refresh the UI of the config in this renderer, next to the other renderers that draw
it (UiConfigMethods.AddRefreshListener). Call it when the config is rendered; once per config: a second call
keeps the first listener. disposeUiConfig and removeRefreshListener remove it.
a function that removes the listener
Fire an event type.
The type of event that gets fired.
Disposes the UI associated with a config, doesn't makes change to the object or its parent.
Removes the refresh listener of this renderer from the config; the listeners of other renderers, and a function
assigned to config.uiRefresh, stay.
Optionalconfig: UiObjectConfig<any, string, any>OptionalperformDispose: booleanThe menu buttons of a folder config (folderMenus): its direct context-menu buttons; the menu leaves out the hidden ones
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Draws the actions of a folder config in another element, as in its header: as many buttons as fit in the element's width, and a ⋮ button with a menu of the rest. For a folder whose header the app hides (the actions of a hidden header are not shown there), like a panel with its own title row. The bar follows each render of the folder.
refresh() (draw again from the config) and remove()
Opens the menu of a folder config at an element, like a click on the ⋮ button of its header: for a folder whose header the app hides, or another button for the same menu.
false when the folder has no menu button that is shown, and no menu opens
Optionaldeep: booleanOptionalmode: TUiRefreshModes | "immediate"Optionaldelay: numberRemoves a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Removes the refresh listener of this renderer from a config (addRefreshListener); other renderers keep theirs
Optionalparent: FolderApi | TabPageApiApplies a color mode of the theme in uiconfig-tweakpane/theme.css to this renderer's panel; null removes it.
Import the stylesheet once (import 'uiconfig-tweakpane/theme.css').
Sets, changes or removes the tooltip of an element of this renderer with its tooltipHook (see setElementTooltip): call it again when the text changes, and with no text to remove it.
Optionaltext: stringOptionalinfo: Partial<UiTooltipInfo>Disposes the panel and removes the bars mounted with mountFolderActions and their refresh listeners
the element of the panel