refactor(flow!): Change transform to viewport

* Change array type to object type and rename transform type to viewport
* Update examples & docs
This commit is contained in:
Braks
2022-04-11 11:30:10 +02:00
parent 47f5a761a1
commit fcdbc21d34
29 changed files with 255 additions and 633 deletions
+4 -4
View File
@@ -331,9 +331,9 @@ const edges = ref([
- Details:
Trigger fit view when transformation-pane is mounted.
Trigger fit view when viewport is mounted.
## Zoom & Pan Options
## Viewport Options
### zoom-activation-key-code <Badge class="text-white" style="line-height: inherit" text="optional" vertical="top" />
@@ -475,7 +475,7 @@ const edges = ref([
- Details:
Default zoom pane position on initial load.
Default viewport position on initial load.
### translate-extent <Badge class="text-white" style="line-height: inherit" text="optional" vertical="top" />
@@ -492,7 +492,7 @@ const edges = ref([
- Details:
The area in which the zoom pane can be moved around.
The area in which the viewport can be moved around.
## Selection Pane Options