lumiverse-spindle-types 0.6.25 → 0.6.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dom.d.ts +12 -0
- package/package.json +1 -1
package/dist/dom.d.ts
CHANGED
|
@@ -327,6 +327,12 @@ export interface SpindleDockPanelOptions {
|
|
|
327
327
|
resizable?: boolean;
|
|
328
328
|
iconUrl?: string;
|
|
329
329
|
startCollapsed?: boolean;
|
|
330
|
+
/** Remove the host panel chrome so the extension can render its own surface.
|
|
331
|
+
* Defaults to false. */
|
|
332
|
+
chromeless?: boolean;
|
|
333
|
+
/** Center the extension root within the dock's content area.
|
|
334
|
+
* Defaults to false. */
|
|
335
|
+
centerContent?: boolean;
|
|
330
336
|
}
|
|
331
337
|
export interface SpindleDockPanelHandle {
|
|
332
338
|
root: HTMLElement;
|
|
@@ -335,6 +341,12 @@ export interface SpindleDockPanelHandle {
|
|
|
335
341
|
expand(): void;
|
|
336
342
|
isCollapsed(): boolean;
|
|
337
343
|
setTitle(title: string): void;
|
|
344
|
+
/** Update the dock's current size, clamped to its configured bounds. */
|
|
345
|
+
setSize(size: number): void;
|
|
346
|
+
/** Update the dock's minimum size and reconcile its current bounds. */
|
|
347
|
+
setMinSize(size: number): void;
|
|
348
|
+
/** Update the dock's maximum size and reconcile its current bounds. */
|
|
349
|
+
setMaxSize(size: number): void;
|
|
338
350
|
destroy(): void;
|
|
339
351
|
onVisibilityChange(handler: (visible: boolean) => void): () => void;
|
|
340
352
|
}
|