Skip to content

[WASM] Implement DOM API for python #210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
shinglyu opened this issue Nov 26, 2018 · 2 comments
Open

[WASM] Implement DOM API for python #210

shinglyu opened this issue Nov 26, 2018 · 2 comments
Labels

Comments

@shinglyu
Copy link
Contributor

https://brython.info/static_doc/en/dom_api.html
Brython does this by creating a module browser with two major interface, document and window.

Implementing window.alert() should be good enough for demo.

@mireille-raad
Copy link
Member

Is this related to xml.dom ?
https://docs.python.org/3.0/library/xml.dom.html

There is also apparently a mini dom.
https://docs.python.org/3.0/library/xml.dom.minidom.html#module-xml.dom.minidom

According to ./what_is_left.sh, both are on the to-do
Screenshot from 2020-09-16 16-45-24

Any priority or timeline on this?

@coolreader18
Copy link
Member

It's not that related, though maybe if we do ever implement this we could base it off of xml.dom, but moreso this is for calling into web APIs from Python, e.g. to write a dynamic website using Python+RustPython+wasm

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

No branches or pull requests

4 participants