I can have an array or I can make an object with poperties, config and events, but I can't seem to make an array with that.
Since objects can have an _text or _HTML attribute perhaps an array attribute too?
state.li = {
_array : [1,2,3],
_config: ....
}
I know I can do greedy to effect all:
state.$li = {
_config : ...
}
But what if I just want the first one?
I know I can simply add another class or different element matcher to the same node:
state.someClassSameNode = {}
Still it'd be nice maybe to add _array property attribute to matchers.
I can have an array or I can make an object with poperties, config and events, but I can't seem to make an array with that.
Since objects can have an _text or _HTML attribute perhaps an array attribute too?
state.li = {
_array : [1,2,3],
_config: ....
}
I know I can do greedy to effect all:
state.$li = {
_config : ...
}
But what if I just want the first one?
I know I can simply add another class or different element matcher to the same node:
state.someClassSameNode = {}
Still it'd be nice maybe to add _array property attribute to matchers.