chore: docs

This commit is contained in:
mathuo 2024-04-28 14:34:21 +01:00
parent db9703a150
commit d0eda81a9e
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -21,9 +21,12 @@ To open a panel requires a unique `id` and the name of the `component` to render
const panel: IDockviewPanel = api.addPanel({
id: 'my_unique_panel_id',
component: 'my_component',
// optionally set `inactive: true` to prevent the added panel becoming active automatically
inactive: true
});
```
> See [Overview](/docs/core/overview) to register components.
## Providing a Panel Title