Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Confusion about dom vs. canvas #39

Open
RudolfVonKrugstein opened this issue Apr 21, 2023 · 1 comment
Open

Confusion about dom vs. canvas #39

RudolfVonKrugstein opened this issue Apr 21, 2023 · 1 comment

Comments

@RudolfVonKrugstein
Copy link

Hi,

I have just tried the tour example in web as described in the README.

I habe opend the development tools in my browser, searching for the DOM elements created in the demo. To my surprise I noticed that there is just one canvas element into which everything is drawn.

What? I thought iced_web creates DOM elements? Did I completely misunderstand the README?

Thanks!

@hecrj
Copy link
Member

hecrj commented Apr 21, 2023

iced does not use iced_web to target Wasm by default anymore. The README is a bit outdated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants