Replies: 3 comments 1 reply
-
Those values are passed to the creation of the view state, so assuming you have defined function ReactComponent(props) {
const {x, y} = props.model
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
No, they do not appear there. I am checking to make sure I did not leave out anything important. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I had not defined them in the model. This works,
Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My plugin's
configure()
method adds a view, which should have an initialState {x, y}.How do I retrieve the initial values {x, y} in the view code (MyView.tsx)?
Beta Was this translation helpful? Give feedback.
All reactions