This repository was archived by the owner on Aug 10, 2024. It is now read-only.
Why not having a get
method on element
#502
geomagilles
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
kweb.html.ElementReader served this purpose however it was deprecated because most of the time the DOM is mirroring server-side state making it unnecessary to read it except for things like Are you parsing the HTML server-side? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems there are only setters on an element. Is there any way to get attributes like classes?
Context: I'm writing a HTML parser - I end up with a correct elements tree, and I would like to add specific behavior like
elt.classes(...)
to update the classes already present in the HTML. The issue is that I need help finding a way to access this info.Beta Was this translation helpful? Give feedback.
All reactions