Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

lazy-load svgs #101

Open
johanchouquet opened this issue Jan 18, 2019 · 0 comments
Open

lazy-load svgs #101

johanchouquet opened this issue Jan 18, 2019 · 0 comments

Comments

@johanchouquet
Copy link

Hi there,

Not sure if this is a bug or a feature request. Here, I use ng-inline-svg. It work well for me. I use it inside a lazy-loaded module. But the thing is: how to lazy-load the svg itself (not the module).

What I want to achieve is to:

  1. use a svg placeholder which would inlined on startup,
  2. then lazy-load the svg
  3. the lazy-loaded svg would then replace the first inlined svg.

So I can't seem to find a way of doing that, even though i've seen that there's an input onSVGLoaded.

Actual behavior: My UI is completely blocked until the svg is loaded.

Thanks for your help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants