Skip to content

WIP: web-sys output support#25

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

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

Conversation

@sdobz
Copy link
Copy Markdown

@sdobz sdobz commented Dec 16, 2018

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
Copy link
Copy Markdown
Author

sdobz commented Dec 20, 2018

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
Copy link
Copy Markdown

dbrgn commented Jan 21, 2019

@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 join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants