Opened 13 years ago

Closed 13 years ago

#9110 closed enhancement (fixed)

what do you think about a "dojo.parents(expr: String?)" and $('.nodes').parents(expr: String?) featurelike jquery.parents feature ?

Reported by: harobed Owned by: dante
Priority: high Milestone: 1.4
Component: Core Version: 1.3.0
Keywords: Cc: James Burke
Blocked By: Blocking:


What do you think about a "dojo.parents(expr: String?)" and $('.nodes').parents(expr: String?) feature.

This feature could be like jquery.parents feature :

Regards, Stephane

Change History (2)

comment:1 Changed 13 years ago by dante

Cc: James Burke added
Owner: changed from anonymous to dante
Status: newassigned

re: #9111, I agree -- I have .siblings and .children already in plugd, been meaning to come up with a parents() traversal that didn't suck (eg: run a query on a node just to test the selector), but not come up with anything. Definitely should go in plugd while we figure out how to include these in Core Dojo without confusion (also considering there may be a jq-api-shim in 1.4/1.5 making all of this entirely redundant)

comment:2 Changed 13 years ago by dante

Resolution: fixed
Status: assignedclosed

these functions are in dojox/jq.js and/or dojo.NodeList?-traverse dojo.NodeList?-manipulate

please open new tickets if functionality is missing/incomplete

Note: See TracTickets for help on using tickets.