MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / showLoading

Function showLoading

assets/js/infiniteScroll.js:39–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38// Show loader & fetch more posts
39function showLoading() {
40 loading.classList.add('show');
41
42 setTimeout(() => {
43 loading.classList.remove('show');
44
45 setTimeout(() => {
46 page++;
47 showPosts();
48 }, 300);
49 }, 1000);
50}
51
52// Filter posts by input
53function filterPosts(e) {

Callers 1

infiniteScroll.jsFile · 0.85

Calls 1

showPostsFunction · 0.85

Tested by

no test coverage detected