You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed that sourceIndex is undefined on selector nodes. Seems like selectors nodes should get that data just like the other nodes.
A use-case is to get the index of one selector within a selector list: I might parse the selector list .foo .bar .baz, a b, then run selectorListNode.each(selectorNode => {..}) and within that function want to know selectorNode.sourceIndex.
Just a feature idea.
The text was updated successfully, but these errors were encountered:
I just noticed that
sourceIndex
isundefined
on selector nodes. Seems like selectors nodes should get that data just like the other nodes.A use-case is to get the index of one selector within a selector list: I might parse the selector list
.foo .bar .baz, a b
, then runselectorListNode.each(selectorNode => {..})
and within that function want to knowselectorNode.sourceIndex
.Just a feature idea.
The text was updated successfully, but these errors were encountered: