Facebook-like Context Loader In Pure JavaScript – contextLoader

Category: Javascript , Loading | February 7, 2018
Authortilakranjan
Last UpdateFebruary 7, 2018
LicenseMIT
Views3,653 views
Facebook-like Context Loader In Pure JavaScript – contextLoader

Yet another JavaScript library which applies a Facebook-inspired animated context loader/placeholder to any container element you specify.

See also:

How to use it:

Import the contextLoader’s JavaScript and CSS files into the document.

<link href="css/contextLoader.min.css" rel="stylesheet">
<script src="js/contextLoader.min.js"></script>

Apply the Facebook context loader to a specific element.

<div id="contentDiv"></div>
contextLoader.addLoader('#contentDiv')

You Might Be Interested In:


Leave a Reply