MiroHibler / meteor-preloader

A Meteor "lazy-loader" for external .js and .css libraries
75 stars 3 forks source link

Way to check if all css are loaded #26

Open ghost opened 9 years ago

ghost commented 9 years ago

Hope there's a function or make a loader page if css are not loaded yet

MiroHibler commented 9 years ago

Do you mean only for .CSS files or both .JS and .CSS? .CSS loading is under browser's control by adding .CSS file path to page's header and then the browser does the loading.

ghost commented 9 years ago

I only mean the CSS files. If the css in preloader: { styles: [css_file, css_file]} are not loaded yet, have a loading template on screen.

MiroHibler commented 8 years ago

Oh, you mean some kind of "processing" indicator and hiding the page content until all resources load, right?

ghost commented 8 years ago

Yes! :+1: