Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

feat(selector): custom elements and attributes #16

@tiblu

Description

@tiblu

The need

In Angular we use ng-href on link tags to load custom stylesheet. So we need cache busting to work on ng-href attribute.

The solution

Quick and dirty:

The discussion

As there may be need for support for other tags (img...) and other custom attributes what would be the preferred way to customize the behavior? Give in some kind of map of elements and attributes?

For ex:
options: { targets: { link: ['href', 'ng-href'], script: ['src', 'ng-src'] } }

Open to all ideas. Once we agree on a solution, I'll implement it.

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