Skip to content

How to use canvas with dioxus-desktop #1282

Answered by ealmloff
n-k asked this question in Q&A
Discussion options

You must be logged in to vote

The desktop renderer doesn't support wasm-bindgen so the you cannot use web-sys.

Instead of using web-sys like the web solution, you can use the use eval function (guide) and draw to the canvas with javascript

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by n-k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants