Skip to content

Is it possible to only use this module when the browser requires it? #44

@DanielWhiteCerner

Description

@DanielWhiteCerner

This script self-executes immediately, meaning it doesn't check if it's needed or not.

It would be useful if we could choose when to initialize the event listeners, so we could decide if it's necessary or not.

For example, I only need it for IE11/Windows 10. Anything else seems to work fine - so it'd just be checking SVGs pointlessly.

Would that be too complicated to implement?

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