Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

load of js and css together when they are related #18

Open
Plixo opened this issue Aug 5, 2013 · 1 comment
Open

load of js and css together when they are related #18

Plixo opened this issue Aug 5, 2013 · 1 comment

Comments

@Plixo
Copy link

Plixo commented Aug 5, 2013

Using Lazyload to load asynchronouslsy js and css on onload event for some part of my pages that are not critical.

How can I get jss and css to load in parallel and still detect both have finished loaded ?

For now I can serialize by loading css first and js in the callback or opposite but not optimal ;-)

@rgrove
Copy link
Owner

rgrove commented Aug 5, 2013

This isn't currently possible with LazyLoad, although it wouldn't be too hard to implement if someone wants to take a stab at it.

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