This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[PROPOSAL] Higher level Pythonic DOM interface #1034
Labels
ideas
Ideas worth exploring
lang: python
Related to the Python language
type: feature
New feature or request
Checklist
type-feature
tag)What is the idea?
PyScript should provide a pythonic web/dom interface. I'd like to start the discussion here....
Later I'll propose what I've been thinking so far, in the comments, but if you had the opportunity, how would you design a pythonic
dom
api?Why is this needed
Pyodide
provides a greatjs
interface that allows users to use the Javascript DOM interface directly. It's not very Pythonic though.We currently have the [not so great]
Element
class inpyscript.py
that provides some convenience over thatjs
API it's not really a well thought intentional API.What should happen?
We should discuss here and reach a higher level agreement on how this API should look like
Additional Context
No response
The text was updated successfully, but these errors were encountered: