mirror of
https://github.com/mathuo/dockview
synced 2025-03-10 16:02:04 +00:00
chore: docs
This commit is contained in:
parent
db9703a150
commit
d0eda81a9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user