Skip to content

Discussion for a new feature - @pushToTop / top/bottom option for @pushTo #172

@bnb

Description

@bnb

Using stacks for a feature in my new app and loving them, but currently you can only push to the end of a stack.

I'd like to be able to push to the top of a stack, since I'm looping over a bunch of files that are already sorted with their file names but in the inverse order of the way I'd like to display them. It would be very handy to either be able to do @pushToTop or pass a config option to to @pushTo to point to where I'm pushing (top/bottom).

Totally makes sense if this is too far out of the scope of what you're trying to build but figured I'd ask since it'd make my life super easy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions