docs: add node toolbar and resizer to config

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-13 21:47:06 +01:00
parent af84c13978
commit 9d5cda970c
2 changed files with 10 additions and 0 deletions

View File

@@ -181,6 +181,8 @@ export default defineConfigWithTheme<DefaultTheme.Config>({
{ text: 'MiniMapNode', link: '/guide/components/minimap-node' },
{ text: 'Controls', link: '/guide/components/controls' },
{ text: 'Control Button', link: '/guide/components/control-button' },
{ text: 'Node Toolbar', link: '/guide/components/node-toolbar' },
{ text: 'Node Resizer', link: '/guide/components/node-resizer' },
],
},
],

View File

@@ -68,3 +68,11 @@ When enabled, these props allow you to pan on drag and zoom on scroll using the
| isVisible | Force visibility of resizer | boolean | true | true |
| minWidth | Min width of the resizer (can't resize below this value) | number | true | - |
| minHeight | Min height of the resizer (can't resize below this value) | number | true | - |
## [Emits](/typedocs/interfaces/NodeResizerEmits)
| Name |
|---------------|
| resizeStart |
| resize |
| resizeEnd |