Skip to content

mmm111mmm/PolymerLoading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Stupid web components loading thing

[Edit] I probably wouldn't use this now. But it'll leave it here, just minding its own business, doing no harm -- peaceful.

Displays a pulsating loading text, and then fades that out when web components have loaded.

Useful for people using shitty connections waiting for webcompontentjs and polymer to load.

Use with async on the rest of the scripts you're loading, i.e:

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <script src="polymerloading.js"></script>
    <base href="http://polygit.org/components/">
    <script src="webcomponentsjs/webcomponents-lite.js" async></script>
    <link href="polymer/polymer.html" rel="import" async>
</head>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published