Skip to content

Multiple conditions for ui-sref-active #2524

@Hypocrite

Description

@Hypocrite

I am using version 0.2.17 of ui-router.

The problem is that I would like to use the possibility to have multiple rules for ui-sref-active. For example like this:
ui-sref-active="{'active': 'videos.*', 'active': 'files.*'}

Is this somehow possible? At the moment it only takes the last condition.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions