Facebook-like Context Loader In Pure JavaScript – contextLoader

Category: Javascript , Loading | February 7, 2018
Author: tilakranjan
Views Total: 58
Official Page: Go to website
Last Update: February 7, 2018
License: MIT

Preview:

Facebook-like Context Loader In Pure JavaScript – contextLoader

Description:

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')

Leave a Reply