Skip to content

Size #390

Answered by zHaytam
mdouble asked this question in Q&A
Size #390
Dec 4, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hello, currently the Size node is getting filled after the node renders and we get it with ResizeObserver. So it's more of a readonly property that is handled by the library.

In the future, I'm planning to have another library on top of this one with known shapes where you can control the size and everything.

Just create a custom node model with another size property and set that to what you want, then in your razor component use it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mdouble
Comment options

@zHaytam
Comment options

Answer selected by mdouble
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants