diff --git a/packages/docs/docs/core/dnd/dragAndDrop.mdx b/packages/docs/docs/core/dnd/dragAndDrop.mdx index e2f05017a..3eab34c58 100644 --- a/packages/docs/docs/core/dnd/dragAndDrop.mdx +++ b/packages/docs/docs/core/dnd/dragAndDrop.mdx @@ -5,8 +5,6 @@ sidebar_position: 1 import useBaseUrl from '@docusaurus/useBaseUrl'; import { MultiFrameworkContainer } from '@site/src/components/ui/container'; -import DndDockview from '@site/sandboxes/dnd-dockview/src/app'; -import DockviewExternalDnd from '@site/sandboxes/externaldnd-dockview/src/app'; import LiveExample from '@site/src/components/ui/exampleFrame'; import { DocRef } from '@site/src/components/ui/reference/docRef'; @@ -16,7 +14,7 @@ The dock makes heavy use of drag and drop functionalities. @@ -79,12 +77,6 @@ return ( ); ``` -## Intercepting Drag Events - -You can intercept drag events to attach your own metadata using the `onWillDragPanel` and `onWillDragGroup` api methods. - - - ## Third Party Dnd Libraries This shows a simple example of a third-party library used inside a panel that relies on drag diff --git a/packages/docs/docs/core/dnd/external.mdx b/packages/docs/docs/core/dnd/external.mdx new file mode 100644 index 000000000..2f1f60599 --- /dev/null +++ b/packages/docs/docs/core/dnd/external.mdx @@ -0,0 +1,31 @@ +--- +title: 'External Dnd Events' +sidebar_position: 3 +--- + +External Dnd events can be intercepted through a number of utilities. + +import { DocRef } from '@site/src/components/ui/reference/docRef'; +import LiveExample from '@site/src/components/ui/exampleFrame'; + + + + + + + + + + + + + +## Intercepting Drag Events + +You can intercept drag events to attach your own metadata using the `onWillDragPanel` and `onWillDragGroup` api methods. + + diff --git a/packages/docs/docs/core/dnd/overview.mdx b/packages/docs/docs/core/dnd/overview.mdx index 8adb7fa50..4088fa827 100644 --- a/packages/docs/docs/core/dnd/overview.mdx +++ b/packages/docs/docs/core/dnd/overview.mdx @@ -4,11 +4,6 @@ sidebar_position: 0 --- import useBaseUrl from '@docusaurus/useBaseUrl'; -import { MultiFrameworkContainer } from '@site/src/components/ui/container'; -import DndDockview from '@site/sandboxes/dnd-dockview/src/app'; -import DockviewExternalDnd from '@site/sandboxes/externaldnd-dockview/src/app'; - -import { DocRef } from '@site/src/components/ui/reference/docRef'; Dockview supports a wide variety of built-in Drag and Drop possibilities. diff --git a/packages/docs/sandboxes/dnd-dockview/package.json b/packages/docs/sandboxes/react/dockview/dnd-external/package.json similarity index 94% rename from packages/docs/sandboxes/dnd-dockview/package.json rename to packages/docs/sandboxes/react/dockview/dnd-external/package.json index fec39fd83..81a6d6880 100644 --- a/packages/docs/sandboxes/dnd-dockview/package.json +++ b/packages/docs/sandboxes/react/dockview/dnd-external/package.json @@ -1,5 +1,5 @@ { - "name": "dnd-dockview", + "name": "dockview.dnd-external", "description": "", "keywords": [ "dockview" diff --git a/packages/docs/sandboxes/dnd-dockview/public/index.html b/packages/docs/sandboxes/react/dockview/dnd-external/public/index.html similarity index 100% rename from packages/docs/sandboxes/dnd-dockview/public/index.html rename to packages/docs/sandboxes/react/dockview/dnd-external/public/index.html diff --git a/packages/docs/sandboxes/dnd-dockview/src/app.tsx b/packages/docs/sandboxes/react/dockview/dnd-external/src/app.tsx similarity index 98% rename from packages/docs/sandboxes/dnd-dockview/src/app.tsx rename to packages/docs/sandboxes/react/dockview/dnd-external/src/app.tsx index b2015b834..8d3c70cad 100644 --- a/packages/docs/sandboxes/dnd-dockview/src/app.tsx +++ b/packages/docs/sandboxes/react/dockview/dnd-external/src/app.tsx @@ -1,7 +1,7 @@ import { DockviewApi, DockviewDndOverlayEvent, - DockviewDropEvent, + DockviewDidDropEvent, DockviewReact, DockviewReadyEvent, IDockviewPanelProps, @@ -123,7 +123,7 @@ const DndDockview = (props: { renderVisibleOnly: boolean; theme?: string }) => { setApi(event.api); }; - const onDidDrop = (event: DockviewDropEvent) => { + const onDidDrop = (event: DockviewDidDropEvent) => { event.api.addPanel({ id: 'test', component: 'default', diff --git a/packages/docs/sandboxes/dnd-dockview/src/index.tsx b/packages/docs/sandboxes/react/dockview/dnd-external/src/index.tsx similarity index 100% rename from packages/docs/sandboxes/dnd-dockview/src/index.tsx rename to packages/docs/sandboxes/react/dockview/dnd-external/src/index.tsx diff --git a/packages/docs/sandboxes/dnd-dockview/src/styles.css b/packages/docs/sandboxes/react/dockview/dnd-external/src/styles.css similarity index 100% rename from packages/docs/sandboxes/dnd-dockview/src/styles.css rename to packages/docs/sandboxes/react/dockview/dnd-external/src/styles.css diff --git a/packages/docs/sandboxes/dnd-dockview/tsconfig.json b/packages/docs/sandboxes/react/dockview/dnd-external/tsconfig.json similarity index 100% rename from packages/docs/sandboxes/dnd-dockview/tsconfig.json rename to packages/docs/sandboxes/react/dockview/dnd-external/tsconfig.json diff --git a/packages/docs/src/generated/api.output.json b/packages/docs/src/generated/api.output.json index a370e26ed..b1a1db5e1 100644 --- a/packages/docs/src/generated/api.output.json +++ b/packages/docs/src/generated/api.output.json @@ -2315,7 +2315,7 @@ "summary": [ { "kind": "text", - "text": "Invoked before a group is dragged.\r\n\r\nCalling " + "text": "Invoked before a group is dragged.\n\nCalling " }, { "kind": "code", @@ -2353,7 +2353,7 @@ "summary": [ { "kind": "text", - "text": "Invoked before a panel is dragged.\r\n\r\nCalling " + "text": "Invoked before a panel is dragged.\n\nCalling " }, { "kind": "code", @@ -2391,7 +2391,7 @@ "summary": [ { "kind": "text", - "text": "Invoked when a Drag'n'Drop event occurs but before dockview handles it giving the user an opportunity to intecept and\r\nprevent the event from occuring using the standard " + "text": "Invoked when a Drag'n'Drop event occurs but before dockview handles it giving the user an opportunity to intecept and\nprevent the event from occuring using the standard " }, { "kind": "code", @@ -2399,7 +2399,7 @@ }, { "kind": "text", - "text": " syntax.\r\n\r\nPreventing certain events may causes unexpected behaviours, use carefully." + "text": " syntax.\n\nPreventing certain events may causes unexpected behaviours, use carefully." } ] }, @@ -2429,7 +2429,7 @@ "summary": [ { "kind": "text", - "text": "Invoked before an overlay is shown indicating a drop target.\r\n\r\nCalling " + "text": "Invoked before an overlay is shown indicating a drop target.\n\nCalling " }, { "kind": "code", @@ -2437,7 +2437,7 @@ }, { "kind": "text", - "text": " will prevent the overlay being shown and prevent\r\nthe any subsequent drop event." + "text": " will prevent the overlay being shown and prevent\nthe any subsequent drop event." } ] }, @@ -10189,7 +10189,7 @@ "summary": [ { "kind": "text", - "text": "If the root is orientated as a VERTICAL node then nest the existing root within a new HORIZIONTAL root node\r\nIf the root is orientated as a HORIZONTAL node then nest the existing root within a new VERITCAL root node" + "text": "If the root is orientated as a VERTICAL node then nest the existing root within a new HORIZIONTAL root node\nIf the root is orientated as a HORIZONTAL node then nest the existing root within a new VERITCAL root node" } ] }, @@ -18010,7 +18010,7 @@ "summary": [ { "kind": "text", - "text": "Invoked whenever any aspect of the layout changes.\r\nIf listening to this event it may be worth debouncing ouputs." + "text": "Invoked whenever any aspect of the layout changes.\nIf listening to this event it may be worth debouncing ouputs." } ] }, @@ -18474,7 +18474,7 @@ }, { "kind": "text", - "text": " method\r\nfor the subsequent resize." + "text": " method\nfor the subsequent resize." } ] }, @@ -25080,6 +25080,33 @@ "kind": "interface", "name": "IBaseView", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "maximumSize", "code": "number", @@ -25139,24 +25166,6 @@ "flags": { "isOptional": true } - }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] } ] }, @@ -25191,6 +25200,33 @@ }, "flags": {} }, + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "dropTarget", "code": "Droptarget", @@ -25287,24 +25323,6 @@ }, "flags": {} }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "hide", "code": "(): void", @@ -25438,6 +25456,35 @@ "kind": "interface", "name": "IContentRenderer", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": { + "isOptional": true + } + }, { "name": "element", "code": "HTMLElement", @@ -25491,24 +25538,6 @@ "isReadonly": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "focus", "code": "(): void", @@ -27295,20 +27324,29 @@ { "name": "dispose", "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", "code": "(): void", - "kind": "callSignature" + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] } - ] + }, + "flags": {} } ] }, @@ -27651,6 +27689,33 @@ "isReadonly": true } }, + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "header", "code": "IHeader", @@ -28070,24 +28135,6 @@ } ] }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "focus", "code": "(): void", @@ -28530,6 +28577,33 @@ "isReadonly": true } }, + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "group", "code": "DockviewGroupPanel", @@ -28611,24 +28685,6 @@ "isReadonly": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "focus", "code": "(): void", @@ -28879,20 +28935,29 @@ { "name": "dispose", "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", "code": "(): void", - "kind": "callSignature" + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] } - ] + }, + "flags": {} }, { "name": "update", @@ -28929,6 +28994,33 @@ "kind": "interface", "name": "IGridPanelComponentView", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "element", "code": "HTMLElement", @@ -29121,24 +29213,6 @@ "isOptional": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "focus", "code": "(): void", @@ -29338,6 +29412,33 @@ "kind": "interface", "name": "IGridPanelView", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "element", "code": "HTMLElement", @@ -29492,24 +29593,6 @@ "isOptional": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "focus", "code": "(): void", @@ -31232,6 +31315,33 @@ "kind": "interface", "name": "IHeaderActionsRenderer", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "element", "code": "HTMLElement", @@ -31245,24 +31355,6 @@ "isReadonly": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "init", "code": "(params: { api: DockviewGroupPanelApi, containerApi: DockviewApi }): void", @@ -31354,6 +31446,33 @@ "kind": "interface", "name": "IPaneBodyPart", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "element", "code": "HTMLElement", @@ -31367,24 +31486,6 @@ "isReadonly": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "init", "code": "(parameters: PanePanelComponentInitParameter): void", @@ -31456,6 +31557,33 @@ "kind": "interface", "name": "IPaneHeaderPart", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "element", "code": "HTMLElement", @@ -31469,24 +31597,6 @@ "isReadonly": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "init", "code": "(parameters: PanePanelComponentInitParameter): void", @@ -31558,6 +31668,33 @@ "kind": "interface", "name": "IPanel", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "id", "code": "string", @@ -31570,24 +31707,6 @@ "isReadonly": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "focus", "code": "(): void", @@ -31778,6 +31897,33 @@ "kind": "interface", "name": "IPaneview", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "element", "code": "DocumentFragment | HTMLElement", @@ -31927,24 +32073,6 @@ "isOptional": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "layout", "code": "(size: number, orthogonalSize: number): void", @@ -32016,6 +32144,33 @@ "kind": "interface", "name": "IPaneviewComponent", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "height", "code": "number", @@ -32268,24 +32423,6 @@ } ] }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "focus", "code": "(): void", @@ -32946,6 +33083,33 @@ "kind": "interface", "name": "ISplitviewComponent", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "height", "code": "number", @@ -33176,24 +33340,6 @@ } ] }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "focus", "code": "(): void", @@ -33752,6 +33898,35 @@ "kind": "interface", "name": "ITabRenderer", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": { + "isOptional": true + } + }, { "name": "element", "code": "HTMLElement", @@ -33765,24 +33940,6 @@ "isReadonly": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "focus", "code": "(): void", @@ -33927,6 +34084,33 @@ "kind": "interface", "name": "IView", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": {} + }, { "name": "element", "code": "DocumentFragment | HTMLElement", @@ -34059,24 +34243,6 @@ "isOptional": true } }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "layout", "code": "(size: number, orthogonalSize: number): void", @@ -34229,6 +34395,35 @@ "kind": "interface", "name": "IWatermarkRenderer", "children": [ + { + "name": "dispose", + "code": "(): void", + "kind": "property", + "type": { + "type": "reflection", + "value": { + "name": "__type", + "code": "(): void", + "kind": "typeLiteral", + "signatures": [ + { + "name": "__type", + "typeParameters": [], + "parameters": [], + "returnType": { + "type": "intrinsic", + "value": "void" + }, + "code": "(): void", + "kind": "callSignature" + } + ] + } + }, + "flags": { + "isOptional": true + } + }, { "name": "element", "code": "HTMLElement", @@ -34280,24 +34475,6 @@ }, "flags": {} }, - { - "name": "dispose", - "code": "(): void", - "kind": "method", - "signature": [ - { - "name": "dispose", - "typeParameters": [], - "parameters": [], - "returnType": { - "type": "intrinsic", - "value": "void" - }, - "code": "(): void", - "kind": "callSignature" - } - ] - }, { "name": "focus", "code": "(): void", @@ -38692,7 +38869,7 @@ "summary": [ { "kind": "text", - "text": "Find the grid location of a specific DOM element by traversing the parent\r\nchain and finding each child index on the way.\r\n\r\nThis will break as soon as DOM structures of the Splitview or Gridview change." + "text": "Find the grid location of a specific DOM element by traversing the parent\nchain and finding each child index on the way.\n\nThis will break as soon as DOM structures of the Splitview or Gridview change." } ] }, @@ -41325,7 +41502,7 @@ "summary": [ { "kind": "text", - "text": "A React Hook that returns an array of portals to be rendered by the user of this hook\r\nand a disposable function to add a portal. Calling dispose removes this portal from the\r\nportal array" + "text": "A React Hook that returns an array of portals to be rendered by the user of this hook\nand a disposable function to add a portal. Calling dispose removes this portal from the\nportal array" } ] },