Skip to content

Is it possible to configure this to run on the DOMContentLoaded event? #40

@Richardinho

Description

@Richardinho

Currently the code runs when the load event is fired (or if it has already fired). This means that you don't get your icons until all images, stylesheets, and annoying adverts have all loaded. My experiments show that my page works when svgxuse runs on DOMContentLoaded event instead. Would it be possible to make this configurable?

Or is there a reason why svgxuse must run on the load event?

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