Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

WIP: web-sys output support - #25

Open
sdobz wants to merge 8 commits into
bodil:masterfrom
sdobz:web-sys
Open

WIP: web-sys output support#25
sdobz wants to merge 8 commits into
bodil:masterfrom
sdobz:web-sys

Conversation

@sdobz

@sdobz sdobz commented Dec 16, 2018

Copy link
Copy Markdown

Missing:

  • Proper EventListenerHandle
  • Majority of events (whoops, I'll get to that)

Issues:
web-sys example wasm is built, I see error in firefox when I try to run:

Error loading Rust wasm module 'typed_html_web_sys_test': TypeError: "import object field '__wbindgen_placeholder__' is not an Object" typed-html-web-sys-test.js:46:21
TypeError: import object field '__wbindgen_placeholder__' is not an Object

Aside: The code of conduct references immutable.rs, I don't think this is intentional

@sdobz

sdobz commented Dec 20, 2018

Copy link
Copy Markdown
Author

cargo web does not support wasm-bindgen/web-sys at this time, so I've moved it over to use wasm-bindgen and no-module js loading.

Current status: dom loads and displays, events fail to execute (though they appear to be binding)

@dbrgn

dbrgn commented Jan 21, 2019

Copy link
Copy Markdown

@sdobz any news on web-sys support? 🙂 I'm also interested in this.

@bodil
bodil force-pushed the master branch 2 times, most recently from 71623b7 to d2583f6 Compare February 22, 2019 18:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants