docs: replace old typedoc links

This commit is contained in:
bcakmakoglu
2022-06-15 19:31:20 +02:00
committed by Braks
parent 06420ac6cd
commit e469708b57
5 changed files with 35 additions and 29 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export default {
] ]
}, },
{ {
text: 'Additional Components', text: 'Components',
children: [ children: [
'/guide/components/background', '/guide/components/background',
'/guide/components/minimap', '/guide/components/minimap',
+11 -11
View File
@@ -16,14 +16,14 @@ To use the background simply pass the `Background` component as a child to the `
## Props ## Props
| Name | Definition | Type | Optional | Default | | Name | Definition | Type | Optional | Default |
|--------------|-------------------|-----------------------------------------------------------------------------|----------|---------| |--------------|-------------------|--------------------------------------------------------------|----------|---------|
| variant | Pattern variant | [BackgroundVariant](https://types.vueflow.dev/enums/BackgroundVariant.html) | true | dots | | variant | Pattern variant | [BackgroundVariant](/typedocs/enums/BackgroundVariant.html/) | true | dots |
| gap | Pattern gap | number | true | 10 | | gap | Pattern gap | number | true | 10 |
| size | Pattern size | number | true | 0.4 | | size | Pattern size | number | true | 0.4 |
| patternColor | Pattern color | string | true | #81818a | | patternColor | Pattern color | string | true | #81818a |
| bgColor | Is node dragging | boolean | true | #fff | | bgColor | Is node dragging | boolean | true | #fff |
| height | Background height | number | true | 100 | | height | Background height | number | true | 100 |
| width | Background width | number | true | 100 | | width | Background width | number | true | 100 |
| x | X-offset | number | true | 0 | | x | X-offset | number | true | 0 |
| y | Y-offset | number | true | 0 | | y | Y-offset | number | true | 0 |
+2 -2
View File
@@ -20,7 +20,7 @@ To use the component pass the `ControlButton` component as a child to the [`Cont
## Slots ## Slots
| Name | Definition | | Name | Definition |
|---------|------------------------------------------------------| |---------|--------------------------------------------------------|
| default | inner slot of btn (is wrapped by a `<button>` element) | | default | inner slot of btn (is wrapped by a `<button>` element) |
+7 -7
View File
@@ -16,13 +16,13 @@ To use the controls simply pass the `Controls` component as a child to the `VueF
## Props ## Props
| Name | Definition | Type | Optional | Default | | Name | Definition | Type | Optional | Default |
|-----------------|---------------------------|-----------------------------------------------------------------------|----------|---------| |-----------------|---------------------------|------------------------------------------------------|----------|---------|
| showZoom | Show zoom btn | boolean | true | true | | showZoom | Show zoom btn | boolean | true | true |
| showFitView | Show fit-view btn | boolean | true | true | | showFitView | Show fit-view btn | boolean | true | true |
| showInteractive | Show lock interactive btn | boolean | true | true | | showInteractive | Show lock interactive btn | boolean | true | true |
| showZoom | Show zoom button | boolean | true | true | | showZoom | Show zoom button | boolean | true | true |
| fitViewParams | Params to use on fit-view | [FitViewParams](https://types.vueflow.dev/modules.html#FitViewParams) | true | - | | fitViewParams | Params to use on fit-view | [FitViewParams](/typedocs/types/FitViewParams.html/) | true | - |
## Emits ## Emits
+14 -8
View File
@@ -14,11 +14,17 @@ To use the minimap simply pass the `MiniMap` component as a child to the `VueFlo
## Props ## Props
| Name | Definition | Type | Optional | Default | | Name | Definition | Type | Optional | Default |
|------------------|--------------------------|------------------------------------------------------------------------------|----------|-------------------------| |------------------|--------------------------|------------------------------------------------------------------|----------|-------------------------|
| nodeColor | Node(s) Background color | string, [MiniMapNodeFunc](https://types.vueflow.dev/modules.html#StringFunc) | true | #fff | | nodeColor | Node(s) Background color | string, [MiniMapNodeFunc](/typedocs/types/MiniMapNodeFunc.html/) | true | #fff |
| nodeStrokeColor | Border color | string, [MiniMapNodeFunc](https://types.vueflow.dev/modules.html#StringFunc) | true | #555 | | nodeStrokeColor | Border color | string, [MiniMapNodeFunc](/typedocs/types/MiniMapNodeFunc.html/) | true | #555 |
| nodeClassName | Extra classes | string, [MiniMapNodeFunc](https://types.vueflow.dev/modules.html#StringFunc) | true | - | | nodeClassName | Extra classes | string, [MiniMapNodeFunc](/typedocs/types/MiniMapNodeFunc.html/) | true | - |
| nodeBorderRadius | Border radius | number | true | 5 | | nodeBorderRadius | Border radius | number | true | 5 |
| nodeStrokeWidth | Stroke width | number | true | 2 | | nodeStrokeWidth | Stroke width | number | true | 2 |
| maskColor | Minimap Background color | string | true | rgb(240, 242, 243, 0.7) | | maskColor | Minimap Background color | string | true | rgb(240, 242, 243, 0.7) |
## Slots
| Name | Definition | Props | Default |
|---------------------|-------------------|-----------------------------------------------------------------|-----------------------------------------------------|
| `node-${node.type}` | MiniMap Node slot | [MiniMapNodeProps](/typedocs/interfaces/MiniMapNodeProps.html/) | [MiniMapNode](/guide/components/minimap-node.html/) |