Skip to content

Provide parent as DOM node instead of selector? #124

Open
@billyjanitsch

Description

@billyjanitsch

Currently, the parent config option takes a string query selector. It would be great if the option could alternatively take an actual DOM node. This would let NProgress integrate more elegantly with view frameworks like Backbone/Marionette where DOM elements of interest are already cached and don't otherwise need a unique selector.

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