in that we have:
- search / selectors
- chainable methods (parent, children)
- modification (text, content, etc)
For not, this is YAGNI, but a possible way forward is:
-
instead of the things themselves, store the paths to the things, in the object. The means parent() operates like this:
def _parent(selector,path):
# straw implementation
return path[:-1]
This requires some thinking about how what is analogous to various jQuery methods.
in that we have:
For not, this is YAGNI, but a possible way forward is:
instead of the things themselves, store the paths to the things, in the object. The means
parent()operates like this:def _parent(selector,path):
# straw implementation
return path[:-1]
This requires some thinking about how what is analogous to various jQuery methods.