refactor(core): add fitViewOnInitDone to state

This commit is contained in:
braks
2024-01-29 21:56:44 +01:00
committed by Braks
parent 0faa483835
commit 308cff5f45
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -121,6 +121,8 @@ function defaultState(): State {
autoConnect: false,
fitViewOnInit: false,
fitViewOnInitDone: false,
noDragClassName: 'nodrag',
noWheelClassName: 'nowheel',
noPanClassName: 'nopan',
+1
View File
@@ -127,6 +127,7 @@ export interface State extends Omit<FlowOptions, 'id' | 'modelValue'> {
autoConnect: boolean | Connector
fitViewOnInit: boolean
fitViewOnInitDone: boolean
noDragClassName: 'nodrag' | string
noWheelClassName: 'nowheel' | string