Skip to content

state object array with options? #5

Description

@magnumjs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions